]> git.cworth.org Git - apitrace/blobdiff - retrace/retrace_stdc.cpp
Suppress warning when running in benchmark mode.
[apitrace] / retrace / retrace_stdc.cpp
index e6b108bbca679850704365ccb1732bc923006a92..9ffacade8df5b64bc82fbec653aa9202801e6f68 100644 (file)
@@ -193,7 +193,7 @@ lookupAddress(unsigned long long address) {
         return addr;
     }
 
-    if (address >= 0x00400000) {
+    if (retrace::debug && address >= 0x00400000) {
         std::cerr << "warning: could not translate address 0x" << std::hex << address << std::dec << "\n";
     }