[libgxps] path: do not return from print_token()



commit 95decf1ea68b9f532b5a7d618bfc11f75e89be09
Author: Ernestas Kulik <ernestask src gnome org>
Date:   Sat Oct 1 19:28:42 2016 +0300

    path: do not return from print_token()
    
    print_token() should not return a value, but does.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772296

 libgxps/gxps-path.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgxps/gxps-path.c b/libgxps/gxps-path.c
index 53d0119..2b2b99d 100644
--- a/libgxps/gxps-path.c
+++ b/libgxps/gxps-path.c
@@ -126,8 +126,6 @@ print_token (PathDataToken *token)
         default:
                 g_assert_not_reached ();
         }
-
-        return NULL;
 }
 #endif /* GXPS_ENABLE_DEBUG */
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]