diff --git a/src/cmd.cpp b/src/cmd.cpp index 908477b..498b453 100644 --- a/src/cmd.cpp +++ b/src/cmd.cpp @@ -134,7 +134,6 @@ int cmd_info(const int id) { db db; struct recipe recipe; std::vector ingredients, tags; - int ret = EXIT_SUCCESS; db.open(); @@ -164,5 +163,5 @@ int cmd_info(const int id) { std::cout << "\t- " << tag << std::endl; std::cout << std::endl; - return ret; + return EXIT_SUCCESS; }