Kaydet (Commit) cde4d4a2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: nop between pointer types of exactly same spelling

Change-Id: Ic494c8e3b072adceca984a3ceec02088ac08e880
üst 7b8f64cf
......@@ -61,9 +61,9 @@ Guess::Guess(const char * guess_str)
string enc;
//if the guess is not like "UNKNOWN" or "SHORT", go into the brackets
if(strcmp((const char*)(guess_str + 1), TEXTCAT_RESULT_UNKNOWN_STR) != 0
if(strcmp(guess_str + 1, TEXTCAT_RESULT_UNKNOWN_STR) != 0
&&
strcmp((const char*)(guess_str + 1), TEXTCAT_RESULT_SHORT_STR) != 0)
strcmp(guess_str + 1, TEXTCAT_RESULT_SHORT_STR) != 0)
{
int current_pointer = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment