[Scummvm-git-logs] scummvm master -> 0e85a757bf1d6322a26adfb194a589a13de6d4e1

digitall noreply at scummvm.org
Fri Apr 1 21:47:55 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0e85a757bf HYPNO: Really Fix Redundant Declaration in Grammar Parser Code


Commit: 0e85a757bf1d6322a26adfb194a589a13de6d4e1
    https://github.com/scummvm/scummvm/commit/0e85a757bf1d6322a26adfb194a589a13de6d4e1
Author: D G Turner (digitall at scummvm.org)
Date: 2022-04-01T22:46:11+01:00

Commit Message:
HYPNO: Really Fix Redundant Declaration in Grammar Parser Code

This is emitted by GCC if -Wredundant-decls is passed.

This now removes the offending code line from the generator source
file so this should now not revert if the generator is run again.

Changed paths:
    engines/hypno/grammar_arc.cpp
    engines/hypno/grammar_arc.y


diff --git a/engines/hypno/grammar_arc.cpp b/engines/hypno/grammar_arc.cpp
index 52c6e22964c..9bca233f646 100644
--- a/engines/hypno/grammar_arc.cpp
+++ b/engines/hypno/grammar_arc.cpp
@@ -87,7 +87,6 @@
 Hypno::Shoot *shoot;
 
 extern int HYPNO_ARC_lex();
-extern int HYPNO_ARC_parse();
 extern int HYPNO_ARC_lineno;
 uint32 HYPNO_ARC_default_sound_rate = 0;
 
diff --git a/engines/hypno/grammar_arc.y b/engines/hypno/grammar_arc.y
index a96b5cb23bb..1380b9e2c81 100644
--- a/engines/hypno/grammar_arc.y
+++ b/engines/hypno/grammar_arc.y
@@ -35,7 +35,6 @@
 Hypno::Shoot *shoot;
 
 extern int HYPNO_ARC_lex();
-extern int HYPNO_ARC_parse();
 extern int HYPNO_ARC_lineno;
 uint32 HYPNO_ARC_default_sound_rate = 0;
 




More information about the Scummvm-git-logs mailing list