File tree 1 file changed +3
-13
lines changed
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -1285,14 +1285,9 @@ namespace loguru
1285
1285
}
1286
1286
}
1287
1287
if (g_preamble_pipe && pos < out_buff_size) {
1288
- (void )snprintf (out_buff + pos, out_buff_size - pos, " | " );
1289
-
1290
1288
// Because this is the last if-statement, we avoid incrementing the
1291
- // position to clarify it's unused. If more cases are added, then:
1292
- // int bytes = snprintf(...)
1293
- // if (bytes > 0) {
1294
- // pos += bytes;
1295
- // }
1289
+ // position to clarify it's unused.
1290
+ (void )snprintf (out_buff + pos, out_buff_size - pos, " | " );
1296
1291
}
1297
1292
}
1298
1293
@@ -1371,13 +1366,8 @@ namespace loguru
1371
1366
}
1372
1367
}
1373
1368
if (g_preamble_pipe && pos < out_buff_size) {
1374
- (void )snprintf (out_buff + pos, out_buff_size - pos, " | " );
1375
-
1376
1369
// Avoid incrementing the position to clarify it's unused
1377
- // int bytes = snprintf(...)
1378
- // if (bytes > 0) {
1379
- // pos += bytes;
1380
- // }
1370
+ (void )snprintf (out_buff + pos, out_buff_size - pos, " | " );
1381
1371
}
1382
1372
}
1383
1373
You can’t perform that action at this time.
0 commit comments