OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:wbem/sblim-cmpi-dhcp?expand=0&rev=19
23 lines
676 B
Diff
23 lines
676 B
Diff
Index: sblim-cmpi-dhcp-1.0/hashing/libuniquekey.c
|
|
===================================================================
|
|
--- sblim-cmpi-dhcp-1.0.orig/hashing/libuniquekey.c
|
|
+++ sblim-cmpi-dhcp-1.0/hashing/libuniquekey.c
|
|
@@ -237,6 +237,8 @@ void _UQ_insertEntity(char * filename, _
|
|
cptr = fgets(value, 19, fd);
|
|
fclose(fd);
|
|
|
|
+ (void) cptr; /* make gcc happy */
|
|
+
|
|
key = _UQ_strToHex(value);
|
|
|
|
/** forms the list of new ids to be inserted */
|
|
@@ -456,6 +458,8 @@ unsigned long long _UQ_getKeyFromData(ch
|
|
while(lineno--)
|
|
read = getline(&linebuf, &len, fd);
|
|
|
|
+ (void) read; /* make gcc happy */
|
|
+
|
|
fclose(fd);
|
|
val = _UQ_strToHex(linebuf);
|
|
if(linebuf)
|