mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00

Quiets the following warnings when building the test: test/DatetimeParser.t.cpp: In function ‘int main(int, char**)’: test/DatetimeParser.t.cpp:163:7: warning: unused variable ‘hm’ [-Wunused-variable] int hm = (12 * 3600) + (34 * 60); // The time 12:34:00 in seconds. ^~ test/DatetimeParser.t.cpp:164:7: warning: unused variable ‘z’ [-Wunused-variable] int z = 3600; // TZ offset. ^ test/DatetimeParser.t.cpp:317:7: warning: unused variable ‘t8a’ [-Wunused-variable] int t8a = (8 * 3600); ^~~ test/DatetimeParser.t.cpp:318:7: warning: unused variable ‘t830a’ [-Wunused-variable] int t830a = (8 * 3600) + (30 * 60); ^~~~~ test/DatetimeParser.t.cpp:319:7: warning: unused variable ‘t8p’ [-Wunused-variable] int t8p = (20 * 3600); ^~~ test/DatetimeParser.t.cpp:320:7: warning: unused variable ‘t830p’ [-Wunused-variable] int t830p = (20 * 3600) + (30 * 60); ^~~~~ test/DatetimeParser.t.cpp:321:7: warning: unused variable ‘t12p’ [-Wunused-variable] int t12p = (12 * 3600); ^~~~ test/DatetimeParser.t.cpp:322:7: warning: unused variable ‘t1p’ [-Wunused-variable] int t1p = (13 * 3600); ^~~ test/DatetimeParser.t.cpp:325:7: warning: variable ‘adjust’ set but not used [-Wunused-but-set-variable] int adjust = (time_now.hour () > 10 || (time_now.hour () == 10 && time_now.minute () > 30)) ? 86400 : 0; ^~~~~~ Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
11 lines
120 B
Text
11 lines
120 B
Text
all.log
|
|
AtomicFileTest
|
|
data.t
|
|
DatetimeParser.t
|
|
exclusion.t
|
|
helper.t
|
|
interval.t
|
|
range.t
|
|
rules.t
|
|
TagInfoDatabase.t
|
|
util.t
|