fix get_devlen function from being pointless
This commit is contained in:
@@ -239,7 +239,7 @@ int get_devlen(Line *lines[], int nproc, int rows) {
|
||||
if (i + 3 < rows) {
|
||||
curlen = strlen(lines[i]->devicename);
|
||||
if (curlen > devlen)
|
||||
curlen = devlen;
|
||||
devlen = curlen;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user