nwztools/scsitool: fix completely stupid code

Change-Id: I3771388d24fe5fa249dcb40b231d7a4e06d3c3c8
This commit is contained in:
Amaury Pouly 2018-01-13 19:12:43 +01:00
parent 4d988d43d8
commit 11437662c4

View file

@ -829,7 +829,6 @@ int do_dest(int argc, char **argv)
int shp_index = NWZ_NVP_INVALID;
if(nwz_series[series_index].nvp_index)
shp_index = (*nwz_series[series_index].nvp_index)[NWZ_NVP_SHP];
shp_index = NWZ_NVP_INVALID;
if(shp_index == NWZ_NVP_INVALID)
{
printf("This device doesn't have node 'shp'\n");