Skip to content

Commit 795b72b

Browse files
committed
use for modifyAdi5Ini variable directly system() call
1 parent 024784c commit 795b72b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tools/DEV7Launcher/DEV7Launcher.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ void modifyAdi5Ini() {
150150
#ifdef _WIN32
151151
int editAdi5Ini = system("notepad Data/ADI5.ini");
152152
#else
153-
std::string modifyAdi5Ini = "nano Data/ADI5.ini";
154-
int editAdi5Ini = system(modifyAdi5Ini.c_str());
153+
int modifyAdi5Ini = system("nano Data/ADI5.ini");
155154
#endif
156155
}
157156

0 commit comments

Comments
 (0)