diff options
author | graehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-17 06:08:26 +0000 |
---|---|---|
committer | graehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-17 06:08:26 +0000 |
commit | ef9e43c765ce0c3aff0b59e388c74c42e2e6b78e (patch) | |
tree | 43cc774866a9540cea4ef611ca1ca1c71e8f5b75 /decoder/cfg_options.h | |
parent | ed3b4f784cba2c4a77dcb46b7d588d0161263716 (diff) |
kthx
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@566 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/cfg_options.h')
-rwxr-xr-x | decoder/cfg_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
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"<<desc<<" CFG to "<<cfg_output<<": "<<format<<'\n'; cfg.Print(o.get(),format); |