diff options
| author | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-13 09:47:35 +0000 |
|---|---|---|
| committer | Damien Laniel <dlaniel@entrouvert.com> | 2007-06-13 09:47:35 +0000 |
| commit | 2726db1fb7a7c40b4e10cdf5b2bfb3ef47270dfa (patch) | |
| tree | eb7300fef6de0d28178ba27caa8ddc3a2e27ac4e | |
| parent | 5ac539dff89c1fecdc0f914992ecd84bd2be990d (diff) | |
| download | lasso-2726db1fb7a7c40b4e10cdf5b2bfb3ef47270dfa.tar.gz lasso-2726db1fb7a7c40b4e10cdf5b2bfb3ef47270dfa.tar.xz lasso-2726db1fb7a7c40b4e10cdf5b2bfb3ef47270dfa.zip | |
removed a duplicate
| -rw-r--r-- | swig/Lasso.i | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i index 1e90501b..b6177c10 100644 --- a/swig/Lasso.i +++ b/swig/Lasso.i @@ -300,8 +300,7 @@ static void build_exception_msg(int errorCode, char *errorMsg) { if (errorCode) { char errorMsg[256]; int swig_error = SWIG_RuntimeError; - if (errorCode == LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ || - errorCode == LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ) { + if (errorCode == LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ) { swig_error = SWIG_ValueError; } build_exception_msg(errorCode, errorMsg); |
