Browse Source

Merge pull request #12299 from Chocobo1/initialize

Initialize struct variables
adaptive-webui-19844
Mike Tzou 5 years ago committed by GitHub
parent
commit
82c23e67a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/base/net/private/geoipdatabase.cpp

4
src/base/net/private/geoipdatabase.cpp

@ -64,10 +64,10 @@ namespace
struct DataFieldDescriptor struct DataFieldDescriptor
{ {
DataType fieldType; DataType fieldType {DataType::Unknown};
union union
{ {
quint32 fieldSize; quint32 fieldSize = 0;
quint32 offset; // Pointer quint32 offset; // Pointer
}; };
}; };

Loading…
Cancel
Save