Commit a589f22a by Carlos Martín Nieto

Merge pull request #3525 from pks-t/pks/fix-nested-struct-warning

Compiler warning fixes
parents a27f31d8 bbd2fa4e
......@@ -14,8 +14,6 @@
#include "blob.h"
#include "tag.h"
static const int OBJECT_BASE_SIZE = 4096;
typedef struct {
const char *str; /* type name string */
size_t size; /* size in bytes of the object structure */
......
......@@ -178,7 +178,7 @@ static void setup_uptodate_files(void)
{
git_buf path = GIT_BUF_INIT;
git_index *index;
git_index_entry new_entry = {0};
git_index_entry new_entry = {{0}};
cl_git_pass(git_repository_index(&index, g_repo));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment