We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4e94a commit 0cf0c95Copy full SHA for 0cf0c95
sds.c
@@ -1266,6 +1266,7 @@ int sdsTest(void) {
1266
if (type != SDS_TYPE_5) {
1267
test_cond("sdsMakeRoomFor() free", sdsavail(x) >= step);
1268
oldfree = sdsavail(x);
1269
+ (void) oldfree;
1270
}
1271
p = x+oldlen;
1272
for (j = 0; j < step; j++) {
sdsalloc.h
@@ -40,3 +40,8 @@
40
#define s_malloc malloc
41
#define s_realloc realloc
42
#define s_free free
43
+
44
+/* GCC: Incorrect warning about empty translation units
45
+ * when using pre-compiled headers,
46
+ * (See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64502). */
47
+typedef int sdsvoid;
0 commit comments