Author: Carlos López <[email protected]>
Date: Tue Apr 17 18:50:11 2012 +0200
Fix several compiler warnings: "Statement has no effect" and "Reached non void
end of function"
---
ETL/ETL/_smach.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ETL/ETL/_smach.h b/ETL/ETL/_smach.h
index 9cd1439..ffe88c9 100644
--- a/ETL/ETL/_smach.h
+++ b/ETL/ETL/_smach.h
@@ -584,13 +584,14 @@ public:
}
catch(egress_exception) {
if (egress()) {
- RESULT_ACCEPT;
+ ret=RESULT_ACCEPT;
} else {
- RESULT_ERROR;
+ ret=RESULT_ERROR;
}
}
catch(pop_exception) { pop_state(); return RESULT_ACCEPT; }
catch(const state_base* state) { return
enter(state)?RESULT_ACCEPT:RESULT_ERROR; }
+ return ret;
}
}; // END of template class smach
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl