summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2013-02-10 19:04:08 +0100
committerOndrej Filip <feela@network.cz>2013-02-10 19:04:08 +0100
commit155134f3960bc06a18c8c7d9a97181b786d77a3a (patch)
tree46451c7be1ed6be2752a78b84c3d23eda3cfb0dd /proto
parentc6a2fe64bed8dc67af0e868052b055aa0f45cdf2 (diff)
A few semicolons added to decrease a number of warnings.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/config.Y2
-rw-r--r--proto/radv/config.Y4
2 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index a617292e..3f09afba 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -440,7 +440,7 @@ lsadb_args:
$$ = cfg_allocz(sizeof(struct lsadb_show_data));
}
| lsadb_args GLOBAL { $$ = $1; $$->scope = LSA_SCOPE_AS; }
- | lsadb_args AREA idval { $$ = $1; $$->scope = LSA_SCOPE_AREA; $$->area = $3 }
+ | lsadb_args AREA idval { $$ = $1; $$->scope = LSA_SCOPE_AREA; $$->area = $3; }
| lsadb_args LINK { $$ = $1; $$->scope = 1; /* hack, 0 is no filter */ }
| lsadb_args TYPE NUM { $$ = $1; $$->type = $3; }
| lsadb_args LSID idval { $$ = $1; $$->lsid = $3; }
diff --git a/proto/radv/config.Y b/proto/radv/config.Y
index fbec5a0a..c5b7aaee 100644
--- a/proto/radv/config.Y
+++ b/proto/radv/config.Y
@@ -290,8 +290,8 @@ radv_mult:
;
radv_sensitive:
- /* empty */ { $$ = -1 }
- | SENSITIVE bool { $$ = $2 }
+ /* empty */ { $$ = -1; }
+ | SENSITIVE bool { $$ = $2; }
;
CF_CODE