Found by coverity. Signed-off-by: Hannes Reinecke <hare@xxxxxxxx> --- libmultipath/devmapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c index ce884e2..6e675fe 100644 --- a/libmultipath/devmapper.c +++ b/libmultipath/devmapper.c @@ -1447,7 +1447,7 @@ void dm_reassign_deps(char *table, char *dep, char *newdep) int dm_reassign_table(const char *name, char *old, char *new) { - int r, modified = 0; + int r = 0, modified = 0; uint64_t start, length; struct dm_task *dmt, *reload_dmt; char *target, *params = NULL; -- 2.6.6 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel