[flashrom] Minor Code cleanup resulting in a smaller binary

Diego Elio Pettenò flameeyes at gmail.com
Fri Jan 7 20:12:26 CET 2011


Il giorno mer, 05/01/2011 alle 13.03 +0100, Mathias Krause ha scritto:
> +       static const char *speed_names[4] = {

I'd suggest using "static const char *const" at least (for PIE builds),
or convert some of those to complete arrays.

-- 
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/






More information about the flashrom mailing list