summaryrefslogtreecommitdiff
path: root/Mode/Mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Mode/Mode.cpp')
-rw-r--r--Mode/Mode.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Mode/Mode.cpp b/Mode/Mode.cpp
index d05f4b0..4d5af8a 100644
--- a/Mode/Mode.cpp
+++ b/Mode/Mode.cpp
@@ -66,14 +66,6 @@ bool Mode::appendDataFile(const DataItem& data) {
char stats_buf[32];
size_t size;
- memset(main_buf, 0, sizeof(main_buf));
- memset(id_buf, 0, sizeof(id_buf));
- memset(lat_buf, 0, sizeof(lat_buf));
- memset(lon_buf, 0, sizeof(lon_buf));
- memset(alt_buf, 0, sizeof(alt_buf));
- memset(time_buf, 0, sizeof(time_buf));
- memset(stats_buf, 0, sizeof(stats_buf));
-
snprintf(id_buf, sizeof(id_buf), "%c%ld", (data.type == single) ? 'P' : 'S', data.index);
// if we had GPS lock, format GPS data