Remove unused ret variable in cmd_info().
This commit is contained in:
1 parent
d30f8df5c1
commit
2434a516cd
1 file changed
+1
-2
+1
-2
@@ -134,7 +134,6 @@ int cmd_info(const int id) {
|
|||||||
db db;
|
db db;
|
||||||
struct recipe recipe;
|
struct recipe recipe;
|
||||||
std::vector<std::string> ingredients, tags;
|
std::vector<std::string> ingredients, tags;
|
||||||
int ret = EXIT_SUCCESS;
|
|
||||||
|
|
||||||
db.open();
|
db.open();
|
||||||
|
|
||||||
@@ -164,5 +163,5 @@ int cmd_info(const int id) {
|
|||||||
std::cout << "\t- " << tag << std::endl;
|
std::cout << "\t- " << tag << std::endl;
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
|
|
||||||
return ret;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user