libmount/src/tab_update.c:203:8: warning: declaration of 'rc' shadows a previous local [-Wshadow] libmount/src/tab_update.c:159:6: warning: shadowed declaration is here [-Wshadow] Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- libmount/src/tab_update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/src/tab_update.c b/libmount/src/tab_update.c index 56e87cf..caabd05 100644 --- a/libmount/src/tab_update.c +++ b/libmount/src/tab_update.c @@ -200,7 +200,7 @@ int mnt_update_set_fs(struct libmnt_update *upd, unsigned long mountflags, } else if (fs) { if (upd->userspace_only && !(mountflags & MS_MOVE)) { - int rc = utab_new_entry(upd, fs, mountflags); + rc = utab_new_entry(upd, fs, mountflags); if (rc) return rc; } else { -- 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