diff --git a/taglib/mpeg/id3v2/frames/textidentificationframe.cpp b/taglib/mpeg/id3v2/frames/textidentificationframe.cpp
index d1336d22..3c3d4376 100644
--- a/taglib/mpeg/id3v2/frames/textidentificationframe.cpp
+++ b/taglib/mpeg/id3v2/frames/textidentificationframe.cpp
@@ -25,7 +25,6 @@
 
 #include <tbytevectorlist.h>
 #include <id3v2tag.h>
-#include <tdebug.h>
 #include "textidentificationframe.h"
 #include "tpropertymap.h"
 #include "id3v1genres.h"
diff --git a/tests/test_id3v2.cpp b/tests/test_id3v2.cpp
index 8de91707..ef92b44d 100644
--- a/tests/test_id3v2.cpp
+++ b/tests/test_id3v2.cpp
@@ -566,9 +566,7 @@ public:
     CPPUNIT_ASSERT_EQUAL(String("http://a.user.url"), dict["URL:USERURL"].front());
 
     CPPUNIT_ASSERT_EQUAL(String("http://a.user.url/with/empty/description"), dict["URL"].front());
-    debug(dict.toString());
     CPPUNIT_ASSERT_EQUAL(String("A COMMENT"), dict["COMMENT"].front());
-    debug("565");
 
     CPPUNIT_ASSERT_EQUAL(1u, dict.unsupportedData().size());
     CPPUNIT_ASSERT_EQUAL(String("UFID"), dict.unsupportedData().front());