diff options
author | Arun Thondapu | 2015-04-22 10:27:46 +0000 |
---|---|---|
committer | Arun Thondapu | 2015-04-22 10:27:46 +0000 |
commit | b3a0ddb9f365336d3da14de8a111bd449c313056 (patch) | |
tree | 61fbd23d428a483936859ed3abf19d3e74116679 | |
parent | 03864f87260515557c0d1f17de8ec418e2caf73e (diff) | |
download | rt.equinox.framework-b3a0ddb9f365336d3da14de8a111bd449c313056.tar.gz rt.equinox.framework-b3a0ddb9f365336d3da14de8a111bd449c313056.tar.xz rt.equinox.framework-b3a0ddb9f365336d3da14de8a111bd449c313056.zip |
Bug 465179 - Fix warnings while building the launcher binaries on
linux-gtk
Change-Id: I52ba41502c9a0533b87c63ddb32c31e3439ce83c
Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/library/eclipse.c | 2 | ||||
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/eclipse.c b/features/org.eclipse.equinox.executable.feature/library/eclipse.c index 1302518f6..d9db6606d 100644 --- a/features/org.eclipse.equinox.executable.feature/library/eclipse.c +++ b/features/org.eclipse.equinox.executable.feature/library/eclipse.c @@ -847,7 +847,6 @@ static void parseArgs(int* pArgc, _TCHAR* argv[]) { int remArgs; int index; int i; - _TCHAR * c; /* For each user defined argument (excluding the program) */ for (index = 1; index < *pArgc; index++) { @@ -865,7 +864,6 @@ static void parseArgs(int* pArgc, _TCHAR* argv[]) { /* If the option is recognized by the launcher */ if (option != NULL) { int optional = 0; - c = option->name; /* If the option requires a value and there is one, extract the value. */ if (option->value != NULL) { if (option->flag & VALUE_IS_FLAG) diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c index 9b6a77728..14edf721d 100644 --- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c +++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c @@ -139,7 +139,6 @@ int loadGtk() { const char *check = (*func)(minGtkMajorVersion, minGtkMinorVersion, minGtkMicroVersion); if (check != NULL) { GtkWidget* dialog; - gint result; int gtkMajorVersion, gtkMinorVersion, gtkMicroVersion; void *gtkMajorPtr, *gtkMinorPtr, *gtkMicroPtr; @@ -185,7 +184,7 @@ int loadGtk() { gtkMinorVersion, gtkMicroVersion, upgradeWarning1, minGtkMajorVersion, minGtkMinorVersion, minGtkMicroVersion, upgradeWarning2); gtk.gtk_window_set_title((GtkWindow*)dialog, minVerTitle); - result = gtk.gtk_dialog_run((GtkDialog*)dialog); + gtk.gtk_dialog_run((GtkDialog*)dialog); gtk.gtk_widget_destroy(dialog); dlclose(gdkLib); dlclose(gtkLib); |