stats_tree: re-indent else for avoid warning found by PVS Studio (V705)

It is possible that 'else' block was forgotten or commented out, thus altering the program's operation logics

Change-Id: Ie246592282bd0791021159f90b4b8aeb92cff86f
Reviewed-on: https://code.wireshark.org/review/12333
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2015-12-01 15:09:27 +01:00 committed by Anders Broman
parent f00af593b9
commit 21ac94a323
1 changed files with 9 additions and 7 deletions

View File

@ -725,16 +725,18 @@ get_range(char *rngstr)
/* string == "X-?" */
if (*(split[0]) != '\0') {
rng->floor = (gint)strtol(split[0],NULL,10);
} else
/* string == "-?" */
rng->floor = G_MININT;
} else {
/* string == "-?" */
rng->floor = G_MININT;
}
/* string != "?-" */
if (*(split[1]) != '\0') {
if (*(split[1]) != '\0') {
rng->ceil = (gint)strtol(split[1],NULL,10);
} else
/* string == "?-" */
rng->ceil = G_MAXINT;
} else {
/* string == "?-" */
rng->ceil = G_MAXINT;
}
}
g_strfreev(split);