Skip to content

Commit

Permalink
modified: src/v2i-hub/MapPlugin/src/MapPlugin.cpp
Browse files Browse the repository at this point in the history
	modified:   src/v2i-hub/MapPlugin/src/MapPlugin.h
  • Loading branch information
jwillmartin committed May 29, 2024
1 parent 65a9e42 commit 32dc37b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/v2i-hub/MapPlugin/src/MapPlugin.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#include "MapPlugin.h"
#include <chrono>
#include <fstream>
#include <boost/algorithm/string.hpp>

namespace MapPlugin {

Expand Down
10 changes: 4 additions & 6 deletions src/v2i-hub/MapPlugin/src/MapPlugin.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#pragma once

#ifndef MAPPLUGIN_H_
#define MAPPLUGIN_H_

#include <atomic>
#include <iostream>
#include <map>
Expand All @@ -17,6 +14,9 @@
#include <sys/time.h>
#include <string>
#include <cstdio>
#include <chrono>
#include <fstream>
#include <boost/algorithm/string.hpp>

#include <tmx/tmx.h>
#include <tmx/IvpPlugin.h>
Expand Down Expand Up @@ -97,7 +97,7 @@ class MapPlugin: public PluginClientClockAware {
int sendFrequency = 1000;
FrequencyThrottle<int> errThrottle;

char mapID_buffer[5];
char mapID_buffer[5] = {0};

bool LoadMapFiles();
void DebugPrintMapFiles();
Expand All @@ -107,5 +107,3 @@ class MapPlugin: public PluginClientClockAware {
};

} // namespace MapPlugin

#endif /* MAPPLUGIN_H_ */

0 comments on commit 32dc37b

Please sign in to comment.