Skip to content

Commit 34ccd93

Browse files
committed
nvc compile warning: statement is unreachable
1 parent 093d059 commit 34ccd93

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/drivers/ncmpio/ncmpio_enddef.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ move_file_block(NC *ncp,
122122
"Error at %s line %d: pread file %s offset %lld size %zd (%s)\n",
123123
__func__,__LINE__,path,off_from,chunk_size,strerror(errno));
124124
DEBUG_RETURN_ERROR(NC_EREAD)
125-
get_size = 0;
126125
}
127126
ncp->get_size += get_size;
128127
}
@@ -143,7 +142,6 @@ move_file_block(NC *ncp,
143142
"Error at %s line %d: pwrite file %s offset %lld size %zd (%s)\n",
144143
__func__,__LINE__,path,off_to,get_size,strerror(errno));
145144
DEBUG_RETURN_ERROR(NC_EREAD)
146-
put_size = 0;
147145
}
148146
ncp->put_size += put_size;
149147
}

0 commit comments

Comments
 (0)