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
@@ -426,8 +426,8 @@ int pm3_save_fm11rf08s_nonces(const char *fn, iso14a_fm11rf08s_nonces_with_data_
|
||||
* 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 *line);
|
||||
int insert_line_if_not_exists(const char *preferredName, const char *keystr);
|
||||
|
||||
#endif // FILEUTILS_H
|
||||
Reference in new issue
Block a user