From ca8e10b2df43f5420880c760a2902702494d2618 Mon Sep 17 00:00:00 2001 From: rakslice Date: Thu, 30 Jan 2025 03:44:50 -0800 Subject: [PATCH] debug cleanup --- BasiliskII/src/macos_util.cpp | 4 ++-- SheepShaver/src/macos_util.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BasiliskII/src/macos_util.cpp b/BasiliskII/src/macos_util.cpp index 16a5f3f5..0070e3dc 100644 --- a/BasiliskII/src/macos_util.cpp +++ b/BasiliskII/src/macos_util.cpp @@ -226,12 +226,12 @@ time_t MacTimeToTime(uint32 t) } } + #if DEBUG uint32 round_trip_val = TimeToMacTime(out); D(bug("MacTimeToTime: round trip %u -> %ld -> %u\n", t, out, round_trip_val)); - #if DEBUG struct tm * show = localtime(&out); - D(bug("%s", asctime(show))); + D(bug(" %s", asctime(show))); if (t != round_trip_val) { D(bug("MacTimeToTime: Round-Trip Value Disagrees\n")); } diff --git a/SheepShaver/src/macos_util.cpp b/SheepShaver/src/macos_util.cpp index 29b5449e..c081e06b 100644 --- a/SheepShaver/src/macos_util.cpp +++ b/SheepShaver/src/macos_util.cpp @@ -486,12 +486,12 @@ time_t MacTimeToTime(uint32 t) } } + #if DEBUG uint32 round_trip_val = TimeToMacTime(out); D(bug("MacTimeToTime: round trip %u -> %ld -> %u\n", t, out, round_trip_val)); - #if DEBUG struct tm * show = localtime(&out); - D(bug("%s", asctime(show))); + D(bug(" %s", asctime(show))); if (t != round_trip_val) { D(bug("MacTimeToTime: Round-Trip Value Disagrees\n")); }