[farsight2/master] Remove useless check

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:26:29 PST 2008


---
 transmitters/nice/fs-nice-transmitter.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/transmitters/nice/fs-nice-transmitter.c b/transmitters/nice/fs-nice-transmitter.c
index 43fd5bf..022b55a 100644
--- a/transmitters/nice/fs-nice-transmitter.c
+++ b/transmitters/nice/fs-nice-transmitter.c
@@ -138,10 +138,9 @@ fs_nice_transmitter_register_type (FsPlugin *module)
     (GInstanceInitFunc) fs_nice_transmitter_init
   };
 
-  if (fs_nice_transmitter_debug == NULL)
-    GST_DEBUG_CATEGORY_INIT (fs_nice_transmitter_debug,
-        "fsnicetransmitter", 0,
-        "Farsight libnice transmitter");
+  GST_DEBUG_CATEGORY_INIT (fs_nice_transmitter_debug,
+      "fsnicetransmitter", 0,
+      "Farsight libnice transmitter");
 
   fs_nice_stream_transmitter_register_type (module);
   fs_nice_agent_register_type (module);
-- 
1.5.6.5




More information about the farsight-commits mailing list