Silence a warning in bidi.c

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

 



level was always attributed a value in the switch statement, but gcc was
still complaining.

Changelog:
Initialize level to silence a warning in bidi.c.

Vincent
Index: dlls/gdi/bidi.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/bidi.c,v
retrieving revision 1.3
diff -u -r1.3 bidi.c
--- dlls/gdi/bidi.c	30 Sep 2003 00:33:48 -0000	1.3
+++ dlls/gdi/bidi.c	15 Jan 2004 16:05:04 -0000
@@ -64,7 +64,7 @@
     if ((dwFlags & GCP_REORDER) != 0) {
         UBiDi *bidi;
         UErrorCode err=0;
-        UBiDiLevel level;
+        UBiDiLevel level=0;
 
         bidi=ubidi_open();
         if( bidi==NULL ) {

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

  Powered by Linux