Comment #2 on issue 2883 by [email protected]: Noisy embedder build with -Wunused-parameter
http://code.google.com/p/v8/issues/detail?id=2883

How can you say it's a false positive? The argument is unused, ergo, the compiler justifiably complains. If it's not complaining for you, tighten your -W flags.

You could rewrite `CanCastToHeapObject(void* o)` to `CanCastToHeapObject(void*)` and the compiler will shut up. It's not as if `o` is the a very descriptive variable name to start with.

I'll happily write a patch for it if you tell me what style you prefer, e.g. `(void) &o`, the one I mentioned above or something else. Thanks.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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