[vlc-commits] Remove unused NODBG object flag
Rémi Denis-Courmont
git at videolan.org
Thu Aug 18 16:05:11 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 18 17:04:15 2011 +0300| [cf6cd7686e3f7c11a2b23bfe1906ba8abf4944aa] | committer: Rémi Denis-Courmont
Remove unused NODBG object flag
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf6cd7686e3f7c11a2b23bfe1906ba8abf4944aa
---
include/vlc_objects.h | 1 -
src/misc/messages.c | 3 +--
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index 1758d1e..b59bbc0 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -32,7 +32,6 @@
*/
/* Object flags */
-#define OBJECT_FLAGS_NODBG 0x0001
#define OBJECT_FLAGS_QUIET 0x0002
#define OBJECT_FLAGS_NOINTERACT 0x0004
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 188d763..f1d7078 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -266,8 +266,7 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type,
assert (p_this);
- if( p_this->i_flags & OBJECT_FLAGS_QUIET ||
- (p_this->i_flags & OBJECT_FLAGS_NODBG && i_type == VLC_MSG_DBG) )
+ if( p_this->i_flags & OBJECT_FLAGS_QUIET )
return;
msg_bank_t *bank = libvlc_bank (p_this->p_libvlc);
More information about the vlc-commits
mailing list