Minor fixes from clang-tidy.

This commit is contained in:
Stephen Anthony 2023-04-17 16:59:44 -02:30
parent 76bd7f493f
commit ed68467ff0
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@
//#endif //#endif
#if defined(BSPF_UNIX) || defined(BSPF_MACOS) #if defined(BSPF_UNIX) || defined(BSPF_MACOS)
#include <cstdio>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <stdio.h>
#include <unistd.h> #include <unistd.h>
#endif #endif
@ -843,7 +843,7 @@ void Settings::usage()
{ {
row = 0; row = 0;
cout << "Press \"Enter\"" << std::flush; cout << "Press \"Enter\"" << std::flush;
getchar(); std::ignore = getchar();
cout << endl; cout << endl;
} }
string substr; string substr;