Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion source/module_io/read_rhog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ bool ModuleIO::read_rhog(const std::string& filename, const ModulePW::PW_Basis*

Binstream ifs;
bool error = false;
int gamma_only_in, npwtot_in, nspin_in, size;
int gamma_only_in = 0;
int npwtot_in = 0;
int nspin_in = 0;
int size = 0;
double b1[3], b2[3], b3[3];

if (GlobalV::RANK_IN_POOL == 0)
Expand Down