Skip to content

Commit

Permalink
Suppress valgrind warning about uninitialized read
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Whelan authored and stevenlovegrove committed May 15, 2020
1 parent a49c74a commit 8cb0448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pangolin/gl/glsl.h
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ inline void GlSlProgram::PreprocessGLSL(
const std::string &current_path
) {
const size_t MAXLINESIZE = 10240;
char line[MAXLINESIZE];
char line[MAXLINESIZE] = "";

while(!input.eof()) {
// Take like from source
Expand Down

0 comments on commit 8cb0448

Please sign in to comment.