lib/master.c: get rid of unused name variable
Subsystems (2)
PATCH 1/1 lib/master.c: get rid of unused name variable
Hi, Ian,
Yet another trivial patch.
Cheers,
Jeff
Signed-off-by Jeff Moyer <[email protected]>
lib/master.c +1 -5
@@ -152,7 +152,7 @@ master_add_map_source(struct master_mapent *entry, {struct map_source *source;char *ntype, *nformat; -const char **tmpargv, *name =NULL ; +const char **tmpargv; source =malloc (sizeof (struct map_source ));if (!source)
@@ -188,10 +188,6 @@ master_add_map_source(struct master_mapent *entry, source->argc = argc; source->argv = tmpargv; -/* Can be NULL for "hosts" map */ -if (argv) - name = argv[0 ]; -master_source_writelock (entry);if (!entry->maps)