Skip to content

Commit c734a16

Browse files
committed
fix a warning
1 parent 0c24424 commit c734a16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/conda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ solv_vercmp_conda(const char *s1, const char *q1, const char *s2, const char *q2
134134
return -1;
135135
if (s1p - s1 > s2p - s2)
136136
return 1;
137-
r = s1p - s1 ? strncmp(s1, s2, s1p - s1) : 0;
137+
r = (s1p - s1) ? strncmp(s1, s2, s1p - s1) : 0;
138138
if (r)
139139
return r;
140140
}

0 commit comments

Comments
 (0)