add asserts.
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include "templates.hpp"
|
||||
#include "services.hpp"
|
||||
#include "servers.hpp"
|
||||
#include "utils/assert.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
@ -22,6 +23,7 @@ void dropshell::autocomplete(const std::vector<std::string> &args)
|
||||
return;
|
||||
}
|
||||
|
||||
ASSERT(args.size() >= 3);
|
||||
std::string cmd = args[2];
|
||||
|
||||
// std::cout<<" cmd = ["<<cmd<<"]"<<std::endl;
|
||||
|
Reference in New Issue
Block a user