[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 19/21: Fix gcc-7 warning

noreply at xfce.org noreply at xfce.org
Sat Sep 23 21:27:45 CEST 2017


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 04f6373320b734cc8bc065337b14d6a2c14ffdac
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Sep 16 06:33:03 2017 -0400

    Fix gcc-7 warning
---
 panel-plugin/pulseaudio-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/pulseaudio-plugin.c b/panel-plugin/pulseaudio-plugin.c
index b23043a..ff1cd63 100644
--- a/panel-plugin/pulseaudio-plugin.c
+++ b/panel-plugin/pulseaudio-plugin.c
@@ -176,7 +176,7 @@ pulseaudio_plugin_init_debug (void)
 
   /* enable debug output if the PANEL_DEBUG is set to "all" */
   debug_env = g_getenv ("PANEL_DEBUG");
-  if ((debug_env != NULL) && (debug_env != '\0'))
+  if (debug_env != NULL)
     {
       debug_domains = g_strsplit (debug_env, ",", -1);
       for (i = 0; debug_domains[i] != NULL; i++)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list