cmd: Do not reassign variable before it is used
cppcheck emits warning
Variable 'ofd' is reassigned a value before the old one has been used.
We do not need to initialise a variable if it is assigned to on first use.
Signed-off-by:
Tobin C. Harding <me@tobin.cc>
Showing
Please
register
or
sign in
to comment