• R/O
  • SSH
  • HTTPS

angband65: Commit


Commit MetaInfo

Revision153 (tree)
Zeit2009-05-18 06:09:07
Autorsatofumi

Log Message

fix gcc warning

Ändern Zusammenfassung

Diff

--- trunk/Angband65/src/object/obj-util.c (revision 152)
+++ trunk/Angband65/src/object/obj-util.c (revision 153)
@@ -1311,6 +1311,8 @@
13111311 }
13121312
13131313
1314+#if 0
1315+// defined but not used (linux)
13141316
13151317 /*
13161318 * Return the "value" of an "unknown" item
@@ -1357,6 +1359,7 @@
13571359 /* Paranoia -- Oops */
13581360 return (0L);
13591361 }
1362+#endif
13601363
13611364
13621365 /*
--- trunk/Angband65/src/init2.c (revision 152)
+++ trunk/Angband65/src/init2.c (revision 153)
@@ -22,7 +22,7 @@
2222 #include "option.h"
2323 #include "game-event.h"
2424 #include "game-cmd.h"
25-#include "object\tvalsval.h"
25+#include "object/tvalsval.h"
2626
2727 /*
2828 * This file is used to initialize various variables and arrays for the
--- trunk/Angband65/src/effects.c (revision 152)
+++ trunk/Angband65/src/effects.c (revision 153)
@@ -2018,6 +2018,10 @@
20182018 case EF_XXX:
20192019 case EF_MAX:
20202020 break;
2021+
2022+
2023+ case EF_SPELL_PAGE:
2024+ break;
20212025 }
20222026
20232027 /* Not used */
@@ -2024,4 +2028,3 @@
20242028 msg_print("Effect not handled.");
20252029 return FALSE;
20262030 }
2027-
--- trunk/Angband65/src/load-old.c (revision 152)
+++ trunk/Angband65/src/load-old.c (revision 153)
@@ -1870,4 +1870,4 @@
18701870 return (err);
18711871 }
18721872
1873-#endif
\ No newline at end of file
1873+#endif
Show on old repository browser