mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Avoid unused variable warnings on systems without HAVE_STRUCT_TM_GMTOFF
This commit is contained in:
@@ -95,6 +95,8 @@ typedef char gchar;
|
||||
SCM zone = SCM_SIMPLE_VECTOR_REF(tm, 10);
|
||||
tzone = SCM_UNBNDP(zone) ? NULL : scm_to_locale_string(zone);
|
||||
t.tm_zone = tzone;
|
||||
%#else
|
||||
(void)tzone;
|
||||
%#endif
|
||||
$1 = &t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user