[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/07: Make compilers happy by adding in a
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/07: Make compilers happy by adding in a proper return instruction to the pycallback_object fall-through converter, even though it will never actually be issued. |
Date: |
Mon, 31 Mar 2014 18:04:31 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 95e8c6c597da41edfdda1190d2c0e0cdeedf84bd
Author: Michael Dickens <address@hidden>
Date: Mon Mar 24 18:03:11 2014 -0400
Make compilers happy by adding in a proper return instruction to the
pycallback_object fall-through converter, even though it will never actually be
issued.
---
gnuradio-runtime/include/gnuradio/pycallback_object.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnuradio-runtime/include/gnuradio/pycallback_object.h
b/gnuradio-runtime/include/gnuradio/pycallback_object.h
index 756067d..709ca0e 100644
--- a/gnuradio-runtime/include/gnuradio/pycallback_object.h
+++ b/gnuradio-runtime/include/gnuradio/pycallback_object.h
@@ -152,6 +152,9 @@ private:
myType pyCast(PyObject* obj) {
printf("TYPE NOT IMPLEMENTED!\n");
assert(0);
+ // the following is to make compilers happy only.
+ myType dummy;
+ return(dummy);
};
std::vector<boost::any> d_rpc_vars; // container for all RPC variables
- [Commit-gnuradio] [gnuradio] branch maint updated (2803328 -> c4eb231), git, 2014/03/31
- [Commit-gnuradio] [gnuradio] 07/07: Revert "When specifying a const reference member variable in the constructor's initialization list, the argument must also be a const reference.", git, 2014/03/31
- [Commit-gnuradio] [gnuradio] 02/07: Make compilers happy by adding in a proper return instruction to the pycallback_object fall-through converter, even though it will never actually be issued.,
git <=
- [Commit-gnuradio] [gnuradio] 04/07: Fix abs block to work no matter the input type; addresses issue #660., git, 2014/03/31
- [Commit-gnuradio] [gnuradio] 03/07: Use LOG4CPP directories, not the library itself., git, 2014/03/31
- [Commit-gnuradio] [gnuradio] 06/07: Merge remote-tracking branch 'michaelld/fix_abs_XX' into maint, git, 2014/03/31
- [Commit-gnuradio] [gnuradio] 05/07: Merge remote-tracking branch 'michaelld/fix_clang_warnings' into maint, git, 2014/03/31
- [Commit-gnuradio] [gnuradio] 01/07: When specifying a const reference member variable in the constructor's initialization list, the argument must also be a const reference., git, 2014/03/31