Two LSS talks
Two LSS talks
Posted Oct 10, 2013 12:49 UTC (Thu) by etienne (guest, #25256)Parent article: Two LSS talks
Another anti-patterns which seems to have changed behaviour with newer GCC, at least on ARM:
void fct (const char *str)
{
char *ptr = strchr (str, ':');
if (ptr != 0) *ptr = '\0';
... do something with str which is declared const ...
}
