aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/utils.h b/src/utils.h
index 30ab27c8..e7223f88 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -223,20 +223,20 @@ extern ReflItemList *intersection_items(ReflItemList *i1, ReflItemList *i2);
extern pthread_mutex_t stderr_lock;
#define ERROR(...) { \
- int val = get_status_label(); \
+ int error_print_val = get_status_label(); \
pthread_mutex_lock(&stderr_lock); \
- if ( val >= 0 ) { \
- fprintf(stderr, "%3i: ", val); \
+ if ( error_print_val >= 0 ) { \
+ fprintf(stderr, "%3i: ", error_print_val); \
} \
fprintf(stderr, __VA_ARGS__); \
pthread_mutex_unlock(&stderr_lock); \
}
#define STATUS(...) { \
- int val = get_status_label(); \
+ int status_print_val = get_status_label(); \
pthread_mutex_lock(&stderr_lock); \
- if ( val >= 0 ) { \
- fprintf(stderr, "%3i: ", val); \
+ if ( status_print_val >= 0 ) { \
+ fprintf(stderr, "%3i: ", status_print_val); \
} \
fprintf(stderr, __VA_ARGS__); \
pthread_mutex_unlock(&stderr_lock); \