[vlc-commits] objects: remove tautology
Rémi Denis-Courmont
git at videolan.org
Sun Mar 3 16:52:17 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 3 13:18:14 2019 +0200| [c6a87a0b0282212c76c3447da2eff712c47315d4] | committer: Rémi Denis-Courmont
objects: remove tautology
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6a87a0b0282212c76c3447da2eff712c47315d4
---
src/misc/objects.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/misc/objects.c b/src/misc/objects.c
index 192999e257..2e710e125d 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -122,13 +122,9 @@ static int TreeCommand (vlc_object_t *obj, char const *cmd,
{
(void) cmd; (void) oldval; (void) newval; (void) data;
- if (cmd[0] == 't')
- {
- flockfile(stdout);
- DumpStructure (obj, 0);
- funlockfile(stdout);
- }
-
+ flockfile(stdout);
+ DumpStructure(obj, 0);
+ funlockfile(stdout);
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list