Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-11-22 12:53:30 -0500
committerAlexander Kurtakov2016-11-22 12:53:30 -0500
commit459572de84a844b16a669def2bb5cc5a6d5b8ffb (patch)
treee025f67504f4edc175bccd7b0a288bb328ff6d3b /features
parent352908fa44436a6421b938347ed745e23d6a441d (diff)
downloadrt.equinox.framework-459572de84a844b16a669def2bb5cc5a6d5b8ffb.tar.gz
rt.equinox.framework-459572de84a844b16a669def2bb5cc5a6d5b8ffb.tar.xz
rt.equinox.framework-459572de84a844b16a669def2bb5cc5a6d5b8ffb.zip
Bug 507979 - Fix gcc -Wmisleading-indentation warnings
Use tabs consistently to not confuse gcc blocks has misleading formatting. Change-Id: I91af853c643b9edf0dc54b9677bb8269c451bf76 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'features')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/eclipseMain.c4
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/eclipseUtil.c2
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/eclipseMain.c b/features/org.eclipse.equinox.executable.feature/library/eclipseMain.c
index 1b68af1cb..ec15fba60 100644
--- a/features/org.eclipse.equinox.executable.feature/library/eclipseMain.c
+++ b/features/org.eclipse.equinox.executable.feature/library/eclipseMain.c
@@ -145,9 +145,9 @@ int main( int argc, _TCHAR* argv[] )
/* Parse configuration file arguments */
iniFile = checkForIni(argc, argv);
if (iniFile != NULL)
- ret = readConfigFile(iniFile, &configArgc, &configArgv);
+ ret = readConfigFile(iniFile, &configArgc, &configArgv);
else
- ret = readIniFile(program, &configArgc, &configArgv);
+ ret = readIniFile(program, &configArgc, &configArgv);
if (ret == 0)
{
parseArgs (&configArgc, configArgv, 0);
diff --git a/features/org.eclipse.equinox.executable.feature/library/eclipseUtil.c b/features/org.eclipse.equinox.executable.feature/library/eclipseUtil.c
index 130afb347..c91c8cb52 100644
--- a/features/org.eclipse.equinox.executable.feature/library/eclipseUtil.c
+++ b/features/org.eclipse.equinox.executable.feature/library/eclipseUtil.c
@@ -315,7 +315,7 @@ int versionCmp(char *ver1, char *ver2)
num2 = atoi(ver2);
if (num1 > num2)
- return 1;
+ return 1;
if (num1 < num2)
return -1;
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
index 4e7a075de..a244a825d 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkCommon.c
@@ -74,7 +74,7 @@ int initWindowSystem(int* pArgc, char* argv[], int showSplash)
return -1;
if (getOfficialName() != NULL)
- defaultArgv[0] = getOfficialName();
+ defaultArgv[0] = getOfficialName();
if (argv == NULL) {
/* gtk_init_check on Solaris 9 doesn't like NULL or empty argv */

Back to the top