• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisiona0a356f04cbb627a14baa4197c455e47dca24265 (tree)
Time2002-03-02 19:40:28
Authormogami <mogami@0568...>
Commitermogami

Log Message

argv未使用のワーニングを消す修正。

Change Summary

Incremental Difference

--- a/src/main-gcu.c
+++ b/src/main-gcu.c
@@ -862,7 +862,6 @@ static errr Term_xtra_gcu_event(int v)
862862 static errr Term_xtra_gcu_sound(int v)
863863 {
864864 char buf[1024];
865- char *argv[4];
866865
867866 /* Sound disabled */
868867 if (!use_sound) return (1);
@@ -877,8 +876,9 @@ static errr Term_xtra_gcu_sound(int v)
877876 system(buf);
878877
879878 return (0);
880-#if 0
881879
880+#if 0
881+ char *argv[4];
882882 pid_t pid;
883883
884884 /* Sound disabled */
--- a/src/main-x11.c
+++ b/src/main-x11.c
@@ -2277,7 +2277,6 @@ static void init_sound()
22772277 static errr Term_xtra_x11_sound(int v)
22782278 {
22792279 char buf[1024];
2280- char *argv[4];
22812280
22822281 /* Sound disabled */
22832282 if (!use_sound) return (1);
Show on old repository browser