mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:02:59 +00:00
[NETWORKING][CABMAN]
- Attempt to silence some 200 benign "Operands don't affect result" Coverity defects svn path=/trunk/; revision=69652
This commit is contained in:
parent
8325a50be7
commit
9b00fd4ea8
9 changed files with 45 additions and 30 deletions
|
@ -28,8 +28,9 @@ extern ULONG DebugTraceLevel;
|
|||
#ifdef _MSC_VER
|
||||
|
||||
#define TDI_DbgPrint(_t_, _x_) \
|
||||
if (((DebugTraceLevel & NORMAL_MASK) >= _t_) || \
|
||||
((DebugTraceLevel & _t_) > NORMAL_MASK)) { \
|
||||
if ((_t_ > NORMAL_MASK) \
|
||||
? (DebugTraceLevel & _t_) > NORMAL_MASK \
|
||||
: (DebugTraceLevel & NORMAL_MASK) >= _t_) { \
|
||||
DbgPrint("(%s:%d) ", __FILE__, __LINE__); \
|
||||
DbgPrint _x_ ; \
|
||||
}
|
||||
|
@ -37,8 +38,9 @@ extern ULONG DebugTraceLevel;
|
|||
#else /* _MSC_VER */
|
||||
|
||||
#define TDI_DbgPrint(_t_, _x_) \
|
||||
if (((DebugTraceLevel & NORMAL_MASK) >= _t_) || \
|
||||
((DebugTraceLevel & _t_) > NORMAL_MASK)) { \
|
||||
if ((_t_ > NORMAL_MASK) \
|
||||
? (DebugTraceLevel & _t_) > NORMAL_MASK \
|
||||
: (DebugTraceLevel & NORMAL_MASK) >= _t_) { \
|
||||
DbgPrint("(%s:%d)(%s) ", __FILE__, __LINE__, __FUNCTION__); \
|
||||
DbgPrint _x_ ; \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue