[vlmc-devel] VlmcLogger: Get rid of copypaste

Pawel Golinski git at videolan.org
Fri Jul 29 18:14:25 CEST 2016


vlmc | branch: master | Pawel Golinski <golpaw1 at gmail.com> | Fri Jul 29 12:25:40 2016 +0200| [90bf6accc5e397d1d07e09049bba39d52d2c7562] | committer: Yikai Lu

VlmcLogger: Get rid of copypaste

Signed-off-by: Yikai Lu <luyikei.qmltu at gmail.com>

> https://code.videolan.org/videolan/vlmc/commit/90bf6accc5e397d1d07e09049bba39d52d2c7562
---

 src/Tools/VlmcLogger.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/Tools/VlmcLogger.cpp b/src/Tools/VlmcLogger.cpp
index 9925065..3cd095a 100644
--- a/src/Tools/VlmcLogger.cpp
+++ b/src/Tools/VlmcLogger.cpp
@@ -155,11 +155,7 @@ VlmcLogger::outputToConsole( int level, const char *msg )
 #if QT_VERSION >= QT_VERSION_CHECK(5,5,0)
     case QtInfoMsg:
 #endif
-        fprintf(stdout, "%s\n", msg);
-        break;
     case QtWarningMsg:
-        fprintf(stdout, "%s\n", msg);
-        break;
     case QtCriticalMsg:
         fprintf(stdout, "%s\n", msg);
         break;



More information about the Vlmc-devel mailing list