fix: cppcheck

This commit is contained in:
luwenpeng
2024-08-12 15:56:09 +08:00
parent e14e8b88e4
commit ea0d743b1a
5 changed files with 29 additions and 9 deletions

View File

@@ -279,7 +279,7 @@ static void usage(char *cmd)
int main(int argc, char **argv)
{
int opt = 0;
struct runtime rte = {0};
struct runtime rte = {};
while ((opt = getopt(argc, argv, "f:tvh")) != -1)
{
switch (opt)