mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-26 01:31:54 -07:00
internal: fix -Wsign-compare and -Wunused-variable warnings
This commit is contained in:
@@ -1309,9 +1309,9 @@ void CKeybindManager::moveCursorToCorner(std::string arg) {
|
||||
|
||||
void CKeybindManager::moveCursor(std::string args) {
|
||||
std::string x_str, y_str;
|
||||
int x, y, i;
|
||||
int x, y;
|
||||
|
||||
i = args.find_first_of(' ');
|
||||
size_t i = args.find_first_of(' ');
|
||||
if (i == std::string::npos) {
|
||||
Debug::log(ERR, "moveCursor, takes 2 arguments.");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user