Skip to content

Commit 00c0632

Browse files
committed
only rm necessary global variables
1 parent 2839d31 commit 00c0632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp_bids.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ function uninitCppBids()
139139
rmpath(CPP_BIDS_PATHS);
140140

141141
if isOctave
142-
clear -g;
142+
clear -g CPP_BIDS_INITIALIZED CPP_BIDS_PATHS;
143143
else
144-
clearvars -GLOBAL;
144+
clearvars -GLOBAL CPP_BIDS_INITIALIZED CPP_BIDS_PATHS;
145145
end
146146

147147
end

0 commit comments

Comments
 (0)