Revision: 18276
Author:   [email protected]
Date:     Mon Dec  9 10:14:20 2013 UTC
Log:      Fix trivial error when building with clang.

$ ninja -C out/Debug
...

../../src/d8.cc:171:11: error: unused variable 'MB'
[-Werror,-Wunused-const-variable]
const int MB = 1024 * 1024;
          ^
          1 error generated.

[email protected], [email protected]

Review URL: https://codereview.chromium.org/105833008

Patch from Thiago Farina <[email protected]>.
http://code.google.com/p/v8/source/detail?r=18276

Modified:
 /branches/bleeding_edge/src/d8.cc

=======================================
--- /branches/bleeding_edge/src/d8.cc   Wed Dec  4 10:09:08 2013 UTC
+++ /branches/bleeding_edge/src/d8.cc   Mon Dec  9 10:14:20 2013 UTC
@@ -168,10 +168,9 @@
 const char* Shell::kPrompt = "d8> ";


+#ifndef V8_SHARED
 const int MB = 1024 * 1024;

-
-#ifndef V8_SHARED
 bool CounterMap::Match(void* key1, void* key2) {
   const char* name1 = reinterpret_cast<const char*>(key1);
   const char* name2 = reinterpret_cast<const char*>(key2);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to