[vlc-commits] objects: remove the quiet flag

Rémi Denis-Courmont git at videolan.org
Wed Feb 20 19:06:43 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 20 18:03:39 2019 +0200| [3fbe81a9341799698dcb6775f1146748f3805f50] | committer: Rémi Denis-Courmont

objects: remove the quiet flag

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3fbe81a9341799698dcb6775f1146748f3805f50
---

 include/vlc_objects.h | 1 -
 src/misc/messages.c   | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index 4b77da962e..b42c4768ef 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -83,7 +83,6 @@ struct vlc_common_members
 #endif
 
 /* Object flags */
-#define OBJECT_FLAGS_QUIET       0x0002
 #define OBJECT_FLAGS_NOINTERACT  0x0004
 
 /*****************************************************************************
diff --git a/src/misc/messages.c b/src/misc/messages.c
index f61d0d95c2..c64be5a04e 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -82,9 +82,6 @@ void vlc_vaLog (vlc_object_t *obj, int type, const char *module,
                 const char *file, unsigned line, const char *func,
                 const char *format, va_list args)
 {
-    if (obj != NULL && obj->obj.flags & OBJECT_FLAGS_QUIET)
-        return;
-
     /* Get basename from the module filename */
     char *p = strrchr(module, '/');
     if (p != NULL)



More information about the vlc-commits mailing list