From 5c58a21a1c5e7d0aa3ededb9734abcc89ec761e8 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Tue, 16 May 2000 03:28:20 +0000 Subject: [PATCH] cleaned up a warning about not all paths return a value --- source/vid_win.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/vid_win.c b/source/vid_win.c index c699e9f..f6dbe42 100644 --- a/source/vid_win.c +++ b/source/vid_win.c @@ -373,8 +373,6 @@ int VID_Suspend (MGLDC *dc, int flags) in_mode_set = true; block_drawing = true; // so we don't try to draw while switched away - - return MGL_NO_SUSPEND_APP; } else if (flags & MGL_REACTIVATE) { @@ -389,10 +387,9 @@ int VID_Suspend (MGLDC *dc, int flags) vid.recalc_refdef = 1; block_drawing = false; - - return MGL_NO_SUSPEND_APP; } + return MGL_NO_SUSPEND_APP; } #endif