]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
xgettext: Fix compiler warning
authorDaiki Ueno <ueno@gnu.org>
Sun, 21 Oct 2018 06:35:32 +0000 (08:35 +0200)
committerDaiki Ueno <ueno@gnu.org>
Tue, 23 Oct 2018 18:05:15 +0000 (20:05 +0200)
* gettext-tools/src/x-javascript.c (phase5_scan_regexp): Remove
implicit argument.  Reported in:
<https://savannah.gnu.org/bugs/?48404>.

gettext-tools/src/x-javascript.c

index 2db00abe6cd058de2743f787bd6c801d78791a79..62a2efccee429c5b2e229405c1cd30e9c7ba3230 100644 (file)
@@ -931,7 +931,7 @@ static int phase5_pushback_length;
 static token_type_ty last_token_type = token_type_other;
 
 static void
-phase5_scan_regexp ()
+phase5_scan_regexp (void)
 {
     int c;
 
@@ -1332,7 +1332,7 @@ phase5_get (token_ty *tp)
             tp->type = last_token_type = token_type_operator;
           else
             {
-              phase5_scan_regexp (tp);
+              phase5_scan_regexp ();
               tp->type = last_token_type = token_type_regexp;
             }
           return;