core: Silence gcc -Wall compiler warnings

This commit is contained in:
Colin Walters committed 2011-11-07 12:30:32 -05:00
1 parent e03ffa269b
commit 1ba3a67eb5
6 files changed
+10 -10

No files matched your search

+1 -2
View File
@@ -646,8 +646,7 @@ unpack_file (const char *path,
guint32 metadata_len;
guint32 version, uid, gid, mode;
guint64 content_len;
gsize bytes_read, bytes_written;
int temp_fd = -1;
gsize bytes_read;
file = ot_util_new_file_for_path (path);
-1
View File
@@ -936,7 +936,6 @@ ostree_repo_store_packfile (OstreeRepo *self,
gboolean ret = FALSE;
GString *tempfile_path = NULL;
GChecksum *checksum = NULL;
struct stat stbuf;
gboolean did_exist;
tempfile_path = g_string_new (priv->path);