[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 04/04: do not try to closedir when argument is NULL

noreply at xfce.org noreply at xfce.org
Wed Feb 22 23:53:23 CET 2017


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

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit a5d26743667514ad6d377330866f2d5a45bbbac9
Author: Fabian <timystery at arcor.de>
Date:   Wed Feb 22 23:53:00 2017 +0100

    do not try to closedir when argument is NULL
---
 lib/acpi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/acpi.c b/lib/acpi.c
index 0cfc23b..d018448 100644
--- a/lib/acpi.c
+++ b/lib/acpi.c
@@ -108,7 +108,6 @@ read_thermal_zone (t_chip *ptr_chip)
     {
         ptr_directory = opendir (".");
         if (!ptr_directory) {
-            closedir (ptr_directory);
             res_value = -1;
         }
         else

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


More information about the Xfce4-commits mailing list