[dia] [warningectomy] no return statement in function returning non-void



commit d75103ff2df82e00392d5927bce9a7415d418d70
Author: Hans Breuer <hans breuer org>
Date:   Sat May 4 19:39:11 2013 +0200

    [warningectomy] no return statement in function returning non-void
    
    assume the dialog does all the error reporting

 plug-ins/xslt/xslt.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/xslt/xslt.c b/plug-ins/xslt/xslt.c
index 92dbbb6..892cb42 100644
--- a/plug-ins/xslt/xslt.c
+++ b/plug-ins/xslt/xslt.c
@@ -66,7 +66,10 @@ export_xslt(DiagramData *data, DiaContext *ctx,
 
        diafilename = g_strdup(diaf);
 
-       xslt_dialog_create();   
+       xslt_dialog_create();
+
+       /* assume the dialog does all the error reporting */
+       return TRUE;
 }
 
 


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