[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lost] [Patch] Fix fuer Compilerwarnungen
! Compilerwarnung ueber nicht initialisierte Variable abstellen
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Index: trunk/src/modules/cdi/lib/fs/lostio_if.c
===================================================================
--- trunk.orig/src/modules/cdi/lib/fs/lostio_if.c
+++ trunk/src/modules/cdi/lib/fs/lostio_if.c
@@ -337,6 +337,9 @@ int lostio_seek_handler(lostio_filehandl
case SEEK_END:
new_pos = fh->node->size;
break;
+
+ default:
+ return -1;
}
if ((new_pos > fh->node->size) && ((origin == SEEK_SET) ||
Index: trunk/src/modules/ext2/lostio_if.c
===================================================================
--- trunk.orig/src/modules/ext2/lostio_if.c
+++ trunk/src/modules/ext2/lostio_if.c
@@ -649,6 +649,9 @@ int lostio_seek_handler(lostio_filehandl
case SEEK_END:
new_pos = filehandle->node->size;
break;
+
+ default:
+ return -1;
}
if ((new_pos > filehandle->node->size) && ((origin == SEEK_SET) ||
Index: trunk/src/modules/newext2/lostio_if.c
===================================================================
--- trunk.orig/src/modules/newext2/lostio_if.c
+++ trunk/src/modules/newext2/lostio_if.c
@@ -402,6 +402,9 @@ int lostio_seek_handler(lostio_filehandl
case SEEK_END:
new_pos = fh->node->size;
break;
+
+ default:
+ return -1;
}
if ((new_pos > fh->node->size) && ((origin == SEEK_SET) ||