projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index 6a2e89f7aa4bc8465d4b15a0121f89ad89fbe666..b9530c55ec586940823a962bc3270666212b37a1 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-319,7
+319,7
@@
static void print_allowed_options(const OptionList &allowed_options)
std::cout << padStringRight(os1.str(), 30);
- if (i->second.help
!= NULL
)
+ if (i->second.help)
std::cout << i->second.help;
std::cout << std::endl;