[gedit/gnome-3-6] Fix C90 variable declaration in function body warning
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-6] Fix C90 variable declaration in function body warning
- Date: Sun, 11 Nov 2012 10:27:11 +0000 (UTC)
commit a2cff4c535d10683e6a4945a7966be7bd266bda3
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sun Nov 11 11:17:37 2012 +0100
Fix C90 variable declaration in function body warning
gedit/gedit-document-loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-document-loader.c b/gedit/gedit-document-loader.c
index ac5efd3..0761114 100644
--- a/gedit/gedit-document-loader.c
+++ b/gedit/gedit-document-loader.c
@@ -369,6 +369,7 @@ static const GeditEncoding *
get_metadata_encoding (GeditDocumentLoader *loader)
{
const GeditEncoding *enc = NULL;
+ GFileInfo *info;
if (loader->priv->location == NULL)
{
@@ -389,7 +390,6 @@ get_metadata_encoding (GeditDocumentLoader *loader)
g_free (charset);
#else
- GFileInfo *info;
info = gedit_document_loader_get_info (loader);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]