summaryrefslogtreecommitdiff
path: root/volk/lib
diff options
context:
space:
mode:
authorJosh Blum2011-07-20 17:36:08 -0700
committerJosh Blum2011-07-20 17:36:08 -0700
commitb835094682f214366f7b8c0220134817c4f34157 (patch)
treef75e9b638aa5e046ca507792afe335ee3d563317 /volk/lib
parentaf686ad1711bae807624ee18671d25236e47e7f4 (diff)
downloadgnuradio-b835094682f214366f7b8c0220134817c4f34157.tar.gz
gnuradio-b835094682f214366f7b8c0220134817c4f34157.tar.bz2
gnuradio-b835094682f214366f7b8c0220134817c4f34157.zip
volk: snagged the volk changes from cmake branch
Diffstat (limited to 'volk/lib')
-rw-r--r--volk/lib/CMakeLists.txt2
-rw-r--r--volk/lib/volk_prefs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/volk/lib/CMakeLists.txt b/volk/lib/CMakeLists.txt
index 33a478265..d69b4941d 100644
--- a/volk/lib/CMakeLists.txt
+++ b/volk/lib/CMakeLists.txt
@@ -256,6 +256,6 @@ ADD_EXECUTABLE(test_all
${CMAKE_CURRENT_SOURCE_DIR}/qa_utils.cc
)
TARGET_LINK_LIBRARIES(test_all volk ${Boost_LIBRARIES})
-ADD_TEST(qa_volk_test_all test_all)
+#ADD_TEST(qa_volk_test_all test_all)
ENDIF()
diff --git a/volk/lib/volk_prefs.c b/volk/lib/volk_prefs.c
index 9743c51d9..b29d5fd87 100644
--- a/volk/lib/volk_prefs.c
+++ b/volk/lib/volk_prefs.c
@@ -23,7 +23,7 @@ int load_preferences(struct volk_arch_pref **prefs) {
//get the config path
get_config_path(path);
config_file = fopen(path, "r");
- if(!config_file) return; //no prefs found
+ if(!config_file) return n_arch_prefs; //no prefs found
while(fgets(line, 512, config_file) != NULL) {
if(sscanf(line, "%s %s", function, arch) == 2 && !strncmp(function, "volk_", 5)) {