summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wiiyourself/wiimote.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-02 10:02:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:19 +0100
commit3cf0d03a1955489dea2c66435c78912d66d4e435 (patch)
tree1c1057340370a60a554f74899d2e3c9145fba938 /tracker-wii/wiiyourself/wiimote.cpp
parentbc3c13ecc3692aca160ccfe4043c910dc1bd7e85 (diff)
wiiyourself: pass a more restrictive warning set
Diffstat (limited to 'tracker-wii/wiiyourself/wiimote.cpp')
-rw-r--r--tracker-wii/wiiyourself/wiimote.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tracker-wii/wiiyourself/wiimote.cpp b/tracker-wii/wiiyourself/wiimote.cpp
index 90788495..503a0783 100644
--- a/tracker-wii/wiiyourself/wiimote.cpp
+++ b/tracker-wii/wiiyourself/wiimote.cpp
@@ -2369,11 +2369,7 @@ bool wiimote::Load16bitMonoSampleWAV(const TCHAR* filepath, wiimote_sample &out)
TRACE(_T("Loading '%s'"), filepath);
FILE *file;
-#if (_MSC_VER >= 1400) // VC 2005+
_tfopen_s(&file, filepath, _T("rb"));
-#else
- file = _tfopen(filepath, _T("rb"));
-#endif
_ASSERT(file);
if (!file) {
WARN(_T("Couldn't open '%s"), filepath);
@@ -2562,11 +2558,7 @@ bool wiimote::Load16BitMonoSampleRAW(const TCHAR* filepath,
// load them
FILE *file;
bool res;
-#if (_MSC_VER >= 1400) // VC 2005+
_tfopen_s(&file, filepath, _T("rb"));
-#else
- file = _tfopen(filepath, _T("rb"));
-#endif
_ASSERT(file);
if (!file) {
TRACE(_T("Couldn't open '%s"), filepath);