From 70689ebffd95ab34e45bcbfdce3f6389033bfd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 28 Jan 2019 12:16:12 +0100 Subject: [PATCH] Remove unused iostream includes --- editor/import/editor_import_collada.cpp | 2 -- platform/windows/joypad.cpp | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/editor/import/editor_import_collada.cpp b/editor/import/editor_import_collada.cpp index cd5df14f1b1..dbf63102cf5 100644 --- a/editor/import/editor_import_collada.cpp +++ b/editor/import/editor_import_collada.cpp @@ -44,8 +44,6 @@ #include "scene/resources/packed_scene.h" #include "scene/resources/surface_tool.h" -#include - struct ColladaImport { Collada collada; diff --git a/platform/windows/joypad.cpp b/platform/windows/joypad.cpp index ba05d2e4958..5fafc7c8c03 100644 --- a/platform/windows/joypad.cpp +++ b/platform/windows/joypad.cpp @@ -29,9 +29,9 @@ /*************************************************************************/ #include "joypad.h" + #include #include -#include #ifndef __GNUC__ #define __builtin_bswap32 _byteswap_ulong @@ -149,15 +149,12 @@ bool JoypadWindows::setup_dinput_joypad(const DIDEVICEINSTANCE *instance) { const DWORD devtype = (instance->dwDevType & 0xFF); if ((devtype != DI8DEVTYPE_JOYSTICK) && (devtype != DI8DEVTYPE_GAMEPAD) && (devtype != DI8DEVTYPE_1STPERSON)) { - //printf("ignore device %s, type %x\n", instance->tszProductName, devtype); return false; } hr = dinput->CreateDevice(instance->guidInstance, &joy->di_joy, NULL); if (FAILED(hr)) { - - //std::wcout << "failed to create device: " << instance->tszProductName << std::endl; return false; } @@ -383,8 +380,6 @@ void JoypadWindows::process_joypads() { hr = joy->di_joy->GetDeviceState(sizeof(DIJOYSTATE2), &js); if (FAILED(hr)) { - - //printf("failed to read joy #%d\n", i); continue; }