Tizen 35853 : DEADCODE
original code is "assert(chunksize > 0 && chunksize <= trans_unit_size);"
(reference send_chunks() : line 125)
but chunksize already checked before line:1086 (chunksize <= 0)
then, chunksize always bigger than 0 .
so, exclamation mark is moved to another location
and conditional sentence is switched.
Change-Id: I9e5a2f998fb506fd152da856f4c9455f027207a6
Signed-off-by: jaehoon.you <jaehoon.you@samsung.com>
return -1;
}
- if ((!chunksize > 0 && chunksize <= trans_unit_size)) {
+ if (!(chunksize <= trans_unit_size && chunksize > 0)) {
free(chunk);
return -1;
}
printf("\n");
printf("Linux Thor downloader, version %s \n", PACKAGE_VERSION);
- printf("Authors: YoungJin Lee <yj0701.lee@samsung.com>\n\n");
+ printf("Authors: YoungJin Lee <yj0701.lee@samsung.com>, "
+ "Jaehoon You <jaehoon.you@samsung.com>\n\n");
while (opt < argc) {
/* check if we're verbose */