Fix "make syntax-check" failures.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2015-02-23 12:06:09 +01:00 committed by Colin Walters
parent 9e3a018d85
commit 494d3535e4
4 changed files with 2 additions and 4 deletions

View File

@ -29,7 +29,7 @@ else
fi fi
cd $olddir cd $olddir
if ! test -f libglnx/README.md -o bsdiff/README.md; then if ! test -f libglnx/README.md || ! test -f bsdiff/README.md; then
git submodule update --init git submodule update --init
fi fi
# Workaround automake bug with subdir-objects and computed paths # Workaround automake bug with subdir-objects and computed paths

View File

@ -1153,7 +1153,7 @@ rename_pending_loose_objects (OstreeRepo *self,
loose_objpath[1] = dent->d_name[1]; loose_objpath[1] = dent->d_name[1];
loose_objpath[2] = '/'; loose_objpath[2] = '/';
strncpy (loose_objpath + 3, child_dent->d_name, sizeof (loose_objpath)-3); g_strlcpy (loose_objpath + 3, child_dent->d_name, sizeof (loose_objpath)-3);
if (!_ostree_repo_ensure_loose_objdir_at (self->objects_dir_fd, loose_objpath, if (!_ostree_repo_ensure_loose_objdir_at (self->objects_dir_fd, loose_objpath,
cancellable, error)) cancellable, error))

View File

@ -302,4 +302,3 @@ _ostree_delta_compute_similar_objects (OstreeRepo *repo,
out: out:
return ret; return ret;
} }

View File

@ -91,4 +91,3 @@ out:
return ret; return ret;
} }