summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-11-03 15:02:40 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-11-10 10:34:54 +0100
commit42dfe5fa6d74068f92a443b6dbcce2472f7c124b (patch)
tree742313f9e175a91559777419dc9e1cc88e729830
parenta3a56518db976400e87d102a6c9c73ee1f375f07 (diff)
downloaddabmod-42dfe5fa6d74068f92a443b6dbcce2472f7c124b.tar.gz
dabmod-42dfe5fa6d74068f92a443b6dbcce2472f7c124b.tar.bz2
dabmod-42dfe5fa6d74068f92a443b6dbcce2472f7c124b.zip
Do not setenv TZ twice
(cherry picked from commit 34afa3a0632817c30e4e5427ee67138d59c4ede3)
-rw-r--r--src/DabMod.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 2caba5d..af3adde 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -258,10 +258,6 @@ int launch_modulator(int argc, char* argv[])
return EXIT_FAILURE;
}
- // Set timezone to UTC
- setenv("TZ", "", 1);
- tzset();
-
mod_settings_t mod_settings;
parse_args(argc, argv, mod_settings);