Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues reported by Coverity Scan (#1409)
* Fix CID 1164532 'Constant' variable guards dead code Signed-off-by: Stefan Weil <sw@weilnetz.de> * Fix CID 1164594 Argument cannot be negative Signed-off-by: Stefan Weil <sw@weilnetz.de> * Fix CID 1164597 Argument cannot be negative Signed-off-by: Stefan Weil <sw@weilnetz.de> * Fix CID 1366447 Argument cannot be negative Fix also the data type for current_pos, as ftell returns a long value. Signed-off-by: Stefan Weil <sw@weilnetz.de> * Fix CID 1270404 Arguments in wrong order This does not change the code, but should help Coverity Scan to see that the argument order is as intended. Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Loading branch information
Showing
5 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters