Merge topic 'suppress-warning-in-comment'
a9fe65c3 cmSystemTools: Remove unreachable return on HP compiler 72e137ea Re-word comment on unreachable return statements
This commit is contained in:
commit
e983ed7c9a
@ -1069,7 +1069,7 @@ case YY_STATE_EOF(NOESCAPES):
|
|||||||
"fatal flex scanner internal error--no action found" );
|
"fatal flex scanner internal error--no action found" );
|
||||||
} /* end of action switch */
|
} /* end of action switch */
|
||||||
} /* end of scanning one token */
|
} /* end of scanning one token */
|
||||||
return 0; /* this should not happend but it should silence a warning */
|
return 0; /* this should not happen but it quiets some compilers */
|
||||||
} /* end of cmCommandArgument_yylex */
|
} /* end of cmCommandArgument_yylex */
|
||||||
|
|
||||||
/* yy_get_next_buffer - try to read in a new buffer
|
/* yy_get_next_buffer - try to read in a new buffer
|
||||||
|
@ -1591,7 +1591,7 @@ case YY_STATE_EOF(string):
|
|||||||
"fatal flex scanner internal error--no action found" );
|
"fatal flex scanner internal error--no action found" );
|
||||||
} /* end of action switch */
|
} /* end of action switch */
|
||||||
} /* end of scanning one token */
|
} /* end of scanning one token */
|
||||||
return 0; /* this should not happen but it silences a warning*/
|
return 0; /* this should not happen but it quiets some compilers */
|
||||||
} /* end of cmDependsJava_yylex */
|
} /* end of cmDependsJava_yylex */
|
||||||
|
|
||||||
/* yy_get_next_buffer - try to read in a new buffer
|
/* yy_get_next_buffer - try to read in a new buffer
|
||||||
|
@ -976,7 +976,7 @@ case YY_STATE_EOF(INITIAL):
|
|||||||
"fatal flex scanner internal error--no action found" );
|
"fatal flex scanner internal error--no action found" );
|
||||||
} /* end of action switch */
|
} /* end of action switch */
|
||||||
} /* end of scanning one token */
|
} /* end of scanning one token */
|
||||||
return 0; /* this should not happen but it silences a warning*/
|
return 0; /* this should not happen but it quiets some compilers */
|
||||||
} /* end of cmExpr_yylex */
|
} /* end of cmExpr_yylex */
|
||||||
|
|
||||||
/* yy_get_next_buffer - try to read in a new buffer
|
/* yy_get_next_buffer - try to read in a new buffer
|
||||||
|
@ -1616,8 +1616,8 @@ long copy_data(struct archive *ar, struct archive *aw)
|
|||||||
return (r);
|
return (r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if !defined(__clang__)
|
#if !defined(__clang__) && !defined(__HP_aCC)
|
||||||
return r; /* this should not happen but it silences a warning */
|
return r; /* this should not happen but it quiets some compilers */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user