diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-02-20 14:48:18 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-02-20 14:48:18 (GMT) |
commit | 54a36600c0eceb18db3c1d7b4429f75b7c005f10 (patch) | |
tree | 4f4c4c0fa30f4f996126592b755cb8be309747b0 /bin | |
parent | 6ce3158da700ae63291f37bdd6edb2f4acda70c3 (diff) | |
download | hdf5-54a36600c0eceb18db3c1d7b4429f75b7c005f10.zip hdf5-54a36600c0eceb18db3c1d7b4429f75b7c005f10.tar.gz hdf5-54a36600c0eceb18db3c1d7b4429f75b7c005f10.tar.bz2 |
[svn-r26249] Removed warnings about NO TRACE from bin/trace script.
Fixes: HDFFV-9098
Tested on: jam (bin/trace only - causes no source changes)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/trace | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -282,13 +282,9 @@ sub rewrite_func ($$$$$) { # The H5TRACE() statement if ($body =~ /\/\*[ \t]*NO[ \t]*TRACE[ \t]*\*\//) { - if ($body =~ /\s*H5TRACE\d+\s*\(/) { - errmesg $file, $name, "warning: trace info was not updated because of NO TRACE comment"; - } else { - errmesg $file, $name, "warning: trace info was not inserted because of NO TRACE comment"; - } + # Ignored due to NO TRACE comment. } elsif ($body =~ s/((\n[ \t]*)H5TRACE\d+\s*\(.*?\);)\n/"$2$trace"/es) { - # Replaced an H5TRACE macro + # Replaced an H5TRACE macro. } elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*\(.*?\);??)\n/"$1$2$trace"/es) { # Added an H5TRACE macro after a FUNC_ENTER macro. } else { @@ -336,3 +332,6 @@ for $file (@ARGV) { } } } + +printf "Finished processing HDF5 API calls\n" + |