Style: Apply clang-format (5.0) to some missed files

This commit is contained in:
Rémi Verschelde
2018-05-31 08:58:37 +02:00
parent e823a366d0
commit 43b7ebf0a0
7 changed files with 35 additions and 39 deletions

View File

@@ -311,14 +311,14 @@ extern bool _err_error_exists;
_err_error_exists = false; \
}
#define WARN_DEPRECATED \
{ \
static bool warning_shown=false;\
if (!warning_shown) {\
_err_print_error(FUNCTION_STR, __FILE__, __LINE__,"This method has been deprecated and will be removed in the future", ERR_HANDLER_WARNING); \
_err_error_exists = false; \
warning_shown=true;\
}\
#define WARN_DEPRECATED \
{ \
static bool warning_shown = false; \
if (!warning_shown) { \
_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "This method has been deprecated and will be removed in the future", ERR_HANDLER_WARNING); \
_err_error_exists = false; \
warning_shown = true; \
} \
}
#endif