aboutsummaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.hpp b/src/config.hpp
index 275f9f9..7257a4a 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -138,8 +138,8 @@ static bool file_get_content(const char *filepath, std::string &file_content) {
}
struct StringView {
- const char *str;
- size_t size;
+ const char *str = nullptr;
+ size_t size = 0;
bool operator == (const char *other) const {
int len = strlen(other);