From 064634b05c9e94ef11b9a8779d389b97e46fb3de Mon Sep 17 00:00:00 2001 From: Ben Hilburn Date: Mon, 9 Feb 2015 16:25:45 -0800 Subject: uhd::paths: Fixed empty string in error message --- host/lib/utils/paths.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp index e304555bd..4a95431b8 100644 --- a/host/lib/utils/paths.cpp +++ b/host/lib/utils/paths.cpp @@ -348,6 +348,7 @@ std::string uhd::find_image_path(const std::string &image_name, const std::strin } /* If we made it this far, then we didn't find anything. */ + images_dir = ""; throw uhd::io_error("Could not find path for image: " + image_name + "\n\n" + "Using images directory: " + images_dir -- cgit v1.2.3