PATCH: relay32/relay386.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following doesn't make me happy either, but it fixes two warnings,
and this helps (at least me) in tracking down real problems in our code,
so I'd appreciate this going in.

Thanks,
Gerald

ChangeLog:
Avoid assertions as we ERR() already anyway.

Index: relay386.c
===================================================================
RCS file: /home/wine/wine/relay32/relay386.c,v
retrieving revision 1.50
diff -u -3 -p -r1.50 relay386.c
--- relay386.c	10 Dec 2002 22:56:44 -0000	1.50
+++ relay386.c	16 Feb 2003 11:46:51 -0000
@@ -332,7 +332,7 @@ static LONGLONG call_cdecl_function( LON
                         args[12],args[13],args[14],args[15]); break;
     default:
         ERR( "Unsupported nb of args %d\n", nb_args );
-        assert(FALSE);
+        return 0;
     }
     return ret;
 }
@@ -381,7 +381,7 @@ static LONGLONG call_stdcall_function( L
                         args[12],args[13],args[14],args[15]); break;
     default:
         ERR( "Unsupported nb of args %d\n", nb_args );
-        assert(FALSE);
+        return 0;
     }
     return ret;
 }


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux