Fixing cppcheck warnings.

This commit is contained in:
Ruben Ayrapetyan
2015-02-17 18:37:43 +03:00
parent 92a9d6db45
commit a4155f7be8
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ extern void __attr_noreturn___
libc_fatal (const char *msg,
const char *file_name,
const char *function_name,
const int line_number);
const unsigned int line_number);
#ifndef LIBC_NDEBUG
# define LIBC_ASSERT(x) do { if (__builtin_expect (!(x), 0)) { \
+1 -1
View File
@@ -30,7 +30,7 @@ void __attr_noreturn___
libc_fatal (const char *msg, /**< fatal error description */
const char *file_name, /**< file name */
const char *function_name, /**< function name */
const int line_number) /**< line number */
const unsigned int line_number) /**< line number */
{
if (msg != NULL
&& file_name != NULL