File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ class CommandObjectPluginEnable : public CommandObjectParsed {
248248 result.AppendError (" 'plugin enable' requires one argument" );
249249 return ;
250250 }
251- llvm::StringRef pattern = argc ? command[0 ].ref () : " " ;
251+ llvm::StringRef pattern = command[0 ].ref ();
252252 result.SetStatus (eReturnStatusSuccessFinishResult);
253253
254254 int num_matching = SetEnableOnMatchingPlugins (pattern, result, true );
@@ -275,7 +275,7 @@ class CommandObjectPluginDisable : public CommandObjectParsed {
275275 result.AppendError (" 'plugin disable' requires one argument" );
276276 return ;
277277 }
278- llvm::StringRef pattern = argc ? command[0 ].ref () : " " ;
278+ llvm::StringRef pattern = command[0 ].ref ();
279279 result.SetStatus (eReturnStatusSuccessFinishResult);
280280
281281 int num_matching = SetEnableOnMatchingPlugins (pattern, result, false );
You can’t perform that action at this time.
0 commit comments