Initialize variables in Request and Image.

This commit is contained in:
tastytea 2019-02-20 03:04:23 +01:00
parent ee6a113e1a
commit 021e9cfc1d
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ namespace http // http.cpp
struct Request
{
const string digest;
const int16_t size;
const int16_t size = 0;
string fallback;
};
@ -81,7 +81,7 @@ namespace image // image.cpp
{
struct Image
{
uint8_t error;
uint8_t error = 0;
Magick::Image image;
};