Browse Source

Remove redundant check on DP_STDOUT

Bryan Drewery 11 years ago
parent
commit
263b41f01c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dccutil.cc

+ 1 - 1
src/dccutil.cc

@@ -318,7 +318,7 @@ dprintf_real(int idx, char* buf, size_t len, size_t bufsiz, const char* target)
   } else if (unlikely(idx < 0)) {
     tputs(-idx, buf, len);
   } else if (idx > 0x7FF0) {
-    if (unlikely(idx == DP_STDOUT || idx == DP_STDOUT)) {
+    if (unlikely(idx == DP_STDOUT)) {
       len = colorbuf(buf, len, -1, bufsiz);
     }