diff options
| author | 2015-07-29 13:36:37 -0400 | |
|---|---|---|
| committer | 2015-10-03 11:40:03 -0400 | |
| commit | eeaa3d448c5d35ad0dc16a981aacd64139c53eee (patch) | |
| tree | 113bc05b053812e48a281bfb015b25958fa697e6 /scripts/basic | |
| parent | Orangefs: sooth most sparse complaints (diff) | |
Orangefs: address problems found by static checker
Don't check for negative rc from boolean.
Don't pointlessly initialize variables, it short-circuits
gcc's uninitialized variable warnings. And max_new_nr_segs
can never be zero, so don't check for it.
Preserve original kstrdup pointer for freeing later.
Don't check for negative value in unsigned variable.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
