fix some cppchecker warnings, missing null checks, consts
This commit is contained in:
1 parent
0929a14b5d
commit
d3627920cd
8 files changed
+51
-14
No files matched your search
@@ -3171,7 +3171,7 @@ int searchFile(char **foundpath, const char *pm3dir, const char *searchname, con
|
||||
* Returns PM3_SUCCES or, PM3_EFILE;
|
||||
*
|
||||
* @param filepath Path to the file.
|
||||
* @param line Line to insert (should not contain a trailing newline).
|
||||
* @param keystr Line to insert (should not contain a trailing newline).
|
||||
*/
|
||||
int insert_line_if_not_exists(const char *preferredName, const char *keystr) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user