journal: LGTM doesn't recognize suppressions in /* */

This commit is contained in:
Frantisek Sumsal 2019-03-25 18:22:48 +01:00 committed by Lennart Poettering
parent 924426a703
commit 1a862e2151
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ static uint64_t scale_progress(uint64_t scale, uint64_t p, uint64_t m) {
* Currently all callers use m >= 1, but we keep the check to be defensive.
*/
if (p >= m || m == 0) /* lgtm [cpp/constant-comparison] */
if (p >= m || m == 0) // lgtm[cpp/constant-comparison]
return scale;
return scale * p / m;