projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: apply suggested fixes
[lttng-tools.git]
/
src
/
common
/
ini-config
/
ini.cpp
diff --git
a/src/common/ini-config/ini.cpp
b/src/common/ini-config/ini.cpp
index c17a8c0e8684b8d887b799abced290390775e989..e6fba384e3ed967c6e0c6e83adcd13445214f216 100644
(file)
--- a/
src/common/ini-config/ini.cpp
+++ b/
src/common/ini-config/ini.cpp
@@
-75,7
+75,7
@@
static char *find_char_or_comment(const char *s, char c)
{
int was_whitespace = 0;
- while (*s && *s != c &&
!(was_whitespace && *s =
= ';')) {
+ while (*s && *s != c &&
(!was_whitespace || *s !
= ';')) {
was_whitespace = isspace((unsigned char) (*s));
s++;
}
This page took
0.02269 seconds
and
4
git commands to generate.