diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-31 11:43:01 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-08-01 08:31:33 +1000 |
commit | 6c37ebcfd8992fdf88da225bd1de7ca40dd69240 (patch) | |
tree | 5869a69ebd697b28183bad757fd69426997ffd16 | |
parent | 65d2d8f9cbe744b4c6c64d377f7ffd5d88ee0b1d (diff) |
Remove shadowing rc variable
All code paths assign rc and heck it immedately after. We can re-use the one
from the outer loop.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | read.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ readFile(char *filename, FontPtr font) if(font->numNames == 0 && face->style_name && face->family_name) { char *full_name, *unique_name; BDF_PropertyRec prop; - int rc, i; + int i; if(strcmp(face->style_name, "Regular") == 0) full_name = sprintf_alloc("%s", face->family_name); else |