Index: src/d8.cc |
=================================================================== |
--- src/d8.cc (revision 9808) |
+++ src/d8.cc (working copy) |
@@ -178,7 +178,8 @@ |
// If all went well and the result wasn't undefined then print |
// the returned value. |
v8::String::Utf8Value str(result); |
- fwrite(*str, sizeof(**str), str.length(), stdout); |
+ size_t count = fwrite(*str, sizeof(**str), str.length(), stdout); |
+ (void) count; // Silence GCC-4.5.x "unused result" warning. |
printf("\n"); |
} |
return true; |