[xiph-commits] r11079 - experimental/giles/mng
giles at svn.xiph.org
giles at svn.xiph.org
Sun Apr 2 01:52:44 PST 2006
Author: giles
Date: 2006-04-02 01:52:44 -0800 (Sun, 02 Apr 2006)
New Revision: 11079
Modified:
experimental/giles/mng/Makefile
experimental/giles/mng/mngplay.c
Log:
Correct warnings.
Modified: experimental/giles/mng/Makefile
===================================================================
--- experimental/giles/mng/Makefile 2006-04-02 09:50:03 UTC (rev 11078)
+++ experimental/giles/mng/Makefile 2006-04-02 09:52:44 UTC (rev 11079)
@@ -2,7 +2,7 @@
PROGS = mngplay
-CFLAGS = -g -O2 #-Wall
+CFLAGS = -g -O2 -Wall
mngplay_SRCS = mngplay.c
mngplay_OBJS = $(mngplay_SRCS:.c=.o)
Modified: experimental/giles/mng/mngplay.c
===================================================================
--- experimental/giles/mng/mngplay.c 2006-04-02 09:50:03 UTC (rev 11078)
+++ experimental/giles/mng/mngplay.c 2006-04-02 09:52:44 UTC (rev 11079)
@@ -224,7 +224,6 @@
mng_ptr mymnggetcanvasline(mng_handle mng, mng_uint32 line)
{
mngstuff *mymng;
- SDL_Surface *surface;
mng_ptr row;
/* dereference our structure */
@@ -368,6 +367,9 @@
case SDLK_q:
mymngquit(mng);
break;
+ default:
+ /* ignore unknown keys */
+ break;
}
/* FALL THROUGH */
default:
@@ -381,7 +383,6 @@
{
mngstuff *mymng;
mng_handle mng;
- SDL_Rect updaterect;
if (argc < 2) {
const SDL_version *pSDLver = SDL_Linked_Version();
@@ -503,5 +504,6 @@
/* cleanup and quit */
mymngquit(mng);
+
+ return 0;
}
-
More information about the commits
mailing list