diff options
| author | Jan Sucan <jan@jansucan.com> | 2021-05-30 18:06:18 +0200 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2021-05-30 18:06:24 +0200 |
| commit | e19731f6d38aa0931f59bba95565c8f40f1dc3b0 (patch) | |
| tree | 1fe851b862adcf26824ce854002ad2a803382f8f /src/backup.c | |
| parent | 2ec55caeeafe4cc381386b8f708f6f1f76bffc3f (diff) | |
Fix cppcheck warnings
Diffstat (limited to 'src/backup.c')
| -rw-r--r-- | src/backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backup.c b/src/backup.c index dcda6b5..15628b8 100644 --- a/src/backup.c +++ b/src/backup.c @@ -190,7 +190,7 @@ backup(const options_t *const opts, resources_t *const res) } /* Write out the output buffer */ - if (out_buffer_index >= 0) { + if (out_buffer_index > 0) { if (write_out_buffer(res->out_buffer, out_buffer_index, res->out_file) != 1) { return 1; |
