Skip to content

Commit 11e99e4

Browse files
authored
Merge pull request #31 from ChristianGalla/primitiveInitialization
Missing initialization of primitive value
2 parents ce836c8 + d812e09 commit 11e99e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wintoastlib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#ifndef WINTOASTLIB_H
1+
#ifndef WINTOASTLIB_H
22
#define WINTOASTLIB_H
33
#include <Windows.h>
44
#include <sdkddkver.h>
@@ -85,7 +85,7 @@ namespace WinToastLib {
8585
std::wstring _imagePath;
8686
std::wstring _audioPath;
8787
std::vector<std::wstring> _actions;
88-
INT64 _expiration;
88+
INT64 _expiration = 0;
8989
WinToastTemplateType _type;
9090
WinToastTemplate::AudioOption _audioOption = WinToastTemplate::AudioOption::Default;
9191
std::wstring _attributionText;

0 commit comments

Comments
 (0)