]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Added missing semicolons.
authorMartin Mares <mj@ucw.cz>
Wed, 13 Nov 2002 08:46:12 +0000 (08:46 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 13 Nov 2002 08:46:12 +0000 (08:46 +0000)
filter/config.Y
nest/a-path.c
nest/config.Y
proto/bgp/attrs.c

index 294da49043b1b66223d485cf3623a19246916a06..ce11e45ddbb4687e79272c05e5939e9d8c91fd69 100644 (file)
@@ -72,7 +72,7 @@ type:
        switch ($1) {
          default:
                cf_error( "You can't create sets of this type." );
-         case T_INT: case T_IP: case T_PREFIX: case T_PAIR:
+         case T_INT: case T_IP: case T_PREFIX: case T_PAIR: ;
        }
        $$ = $1 | T_SET;
        }
index 0c4675518d81674150c97851764e01469c0f601d..1b08f8099a4d372ba760988831a06ebadbff0ebf 100644 (file)
@@ -173,7 +173,7 @@ as_path_match(struct adata *path, struct f_path_mask *mask)
        }
        if (!asterisk)
          return 0;
-      okay:
+      okay: ;
       }
       break;
 
index 0f52ce4f7d438d0c1306731023c64303ca393a8c..1c5cf92da340cb8daefe142c34af93063a4aedc6 100644 (file)
@@ -76,6 +76,7 @@ newtab: TABLE SYM {
 CF_ADDTO(conf, proto)
 
 proto_start: PROTOCOL
+ ;
 
 proto_name:
    /* EMPTY */ {
@@ -225,7 +226,7 @@ password_list:
 CF_CLI_HELP(SHOW, ..., [[Show status information]])
 
 CF_CLI(SHOW STATUS,,, [[Show router status]])
-{ cmd_show_status(); }
+{ cmd_show_status(); } ;
 
 CF_CLI(SHOW PROTOCOLS, optsym, [<name>], [[Show routing protocols]])
 { proto_show($3, 0); } ;
@@ -363,6 +364,7 @@ CF_CLI(RESTART, proto_patt, <protocol> | \"<pattern>\" | all, [[Restart protocol
 CF_CLI_HELP(DEBUG, ..., [[Control protocol debugging]])
 CF_CLI(DEBUG, proto_patt debug_mask, (<protocol> | <pattern> | all) (all | off | { states | routes | filters | events | packets }), [[Control protocol debugging]])
 { proto_debug($2, $3); }
+ ;
 
 proto_patt:
    SYM { $$ = $1->name; }
index 82a180aaa7ec29726548789b2ea47636ee81fc2d..ba3efec4d2038746c78e44c7d9c45edd7ba7f919 100644 (file)
@@ -471,7 +471,7 @@ bgp_get_bucket(struct bgp_proto *p, ea_list *attrs, int originate)
            d->u.ptr = z;
            break;
          }
-       default:
+       default: ;
        }
       d++;
       new->count++;