From ef9e43c765ce0c3aff0b59e388c74c42e2e6b78e Mon Sep 17 00:00:00 2001 From: "graehl@gmail.com" Date: Tue, 17 Aug 2010 06:08:26 +0000 Subject: kthx git-svn-id: https://ws10smt.googlecode.com/svn/trunk@566 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/cfg_options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'decoder') diff --git a/decoder/cfg_options.h b/decoder/cfg_options.h index 331363d2..db89e8c3 100755 --- a/decoder/cfg_options.h +++ b/decoder/cfg_options.h @@ -56,6 +56,7 @@ struct CFGOptions { return "CFG output options"; } void maybe_print(CFG &cfg,std::string cfg_output,char const* desc=" unbinarized") { + if (cfg_output.empty() return; WriteFile o(cfg_output); std::cerr<<"Printing target"<