sys-utils/eject.c:529:11: warning: declaration of 'str' shadows a previous local [-Wshadow] sys-utils/eject.c:506:9: warning: shadowed declaration is here [-Wshadow] Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- sys-utils/eject.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys-utils/eject.c b/sys-utils/eject.c index c8bb6a8..08af08e 100644 --- a/sys-utils/eject.c +++ b/sys-utils/eject.c @@ -526,7 +526,6 @@ static int read_speed(const char *devname) } else { if (strncmp(line, "drive speed:", 12) == 0) { int i; - char *str; str = strtok(&line[12], "\t "); for (i = 1; i < drive_number; i++) -- 1.7.11.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html