[gnumeric] Cover all cases.



commit 45b12cdb6d68ac974e9b086a78687fb78bce9c54
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date:   Mon Sep 13 13:09:41 2010 +0200

    Cover all cases.
    
    Hint to static analysis tools that all cases are covered, and that
    fdname is defined after the switch statement.

 src/tools/analysis-normality.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tools/analysis-normality.c b/src/tools/analysis-normality.c
index 6eb6e4d..1df38d9 100644
--- a/src/tools/analysis-normality.c
+++ b/src/tools/analysis-normality.c
@@ -85,6 +85,8 @@ analysis_tool_normality_engine_run (data_analysis_output_t *dao,
 			       "the sample size must be at\n"
 			       "least 5 and at most 5000.");
 		break;
+	default: /* NOTREACHED */
+		g_assert(0);
 	}
 
 	fd = gnm_func_lookup_or_add_placeholder 



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