On 26/02/15 08:49, Roberta Dobrescu wrote: > This patch removes unused variables from lsiio.c in order > to get rid of the warnings regarding them. > > Signed-off-by: Roberta Dobrescu <roberta.dobrescu@xxxxxxxxx> Applied to the togreg branch of iio.git Thanks again for sorting this out. Jonathan > --- > tools/iio/lsiio.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/tools/iio/lsiio.c b/tools/iio/lsiio.c > index 98a0de0..c585440 100644 > --- a/tools/iio/lsiio.c > +++ b/tools/iio/lsiio.c > @@ -95,12 +95,7 @@ static int dump_one_trigger(const char *dev_dir_name) > static void dump_devices(void) > { > const struct dirent *ent; > - int number, numstrlen; > - > - FILE *nameFile; > DIR *dp; > - char thisname[IIO_MAX_NAME_LENGTH]; > - char *filename; > > dp = opendir(iio_dir); > if (dp == NULL) { > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html