Mercurial > hg > graal-compiler
comparison src/share/vm/services/diagnosticArgument.cpp @ 10973:ef57c43512d6
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Reviewed-by: dholmes, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com
author | ccheung |
---|---|
date | Thu, 13 Jun 2013 22:02:40 -0700 |
parents | f2110083203d |
children | 1b03bed31241 |
comparison
equal
deleted
inserted
replaced
10969:a837fa3d3f86 | 10973:ef57c43512d6 |
---|---|
245 fatal("Default string must be parsable"); | 245 fatal("Default string must be parsable"); |
246 } | 246 } |
247 } else { | 247 } else { |
248 _value._time = 0; | 248 _value._time = 0; |
249 _value._nanotime = 0; | 249 _value._nanotime = 0; |
250 strcmp(_value._unit, "ns"); | 250 strcpy(_value._unit, "ns"); |
251 } | 251 } |
252 } | 252 } |
253 | 253 |
254 template <> void DCmdArgument<NanoTimeArgument>::destroy_value() { } | 254 template <> void DCmdArgument<NanoTimeArgument>::destroy_value() { } |
255 | 255 |