[vlc-commits] commit: old_parent is only needed in DEBUG builds ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Tue May 25 22:42:53 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 25 23:42:43 2010 +0300| [050d1bee89612169bc210acafe7e974a9a7b249c] | committer: Rémi Denis-Courmont
old_parent is only needed in DEBUG builds
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=050d1bee89612169bc210acafe7e974a9a7b249c
---
src/libvlc.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/libvlc.h b/src/libvlc.h
index 2a95283..236ae0c 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -167,7 +167,9 @@ struct vlc_object_internals
vlc_object_internals_t *next; /* next sibling */
vlc_object_internals_t *prev; /* previous sibling */
vlc_object_internals_t *first; /* first child */
+#ifndef NDEBUG
vlc_object_t *old_parent;
+#endif
};
#define ZOOM_SECTION N_("Zoom")
More information about the vlc-commits
mailing list