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 023ef0fCopy full SHA for 023ef0f
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++) {
sds.h
@@ -272,3 +272,8 @@ int sdsTest(int argc, char *argv[]);
272
#endif
273
274
275
+
276
+/* GCC: Incorrect warning about empty translation units
277
+ * when using pre-compiled headers,
278
+ * (See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64502). */
279
+typedef int sdsvoid;
0 commit comments