]> git.lyx.org Git - lyx.git/commit - src/support/os.cpp
Various fixes suggested by cppcheck
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 13 Sep 2019 20:36:53 +0000 (22:36 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 13 Sep 2019 20:37:16 +0000 (22:37 +0200)
commit17c827d1774cb8a73d2d1973261a83b695209386
tree13d96e9a4a2ed7f0a73d5b7926148d370ddde05c
parente3c5987806426cc8b0374eaa8711b598f30f574e
Various fixes suggested by cppcheck

Rename local variables the hide other ones: get_binary_path, find_python_binary

Use unsigned int for conversion from hex using sscanf().

FileName::checksum(), parsecmd (SystemCall): use explcit values rather
than variable which value is known.
src/support/FileName.cpp
src/support/Package.cpp
src/support/Systemcall.cpp
src/support/lstrings.cpp
src/support/lstrings.h
src/support/os.cpp