[gnome-shell] shell: Fix another indentation warning
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell: Fix another indentation warning
- Date: Tue, 16 Feb 2016 17:10:44 +0000 (UTC)
commit 00814dd1592a81e72097a140cecaad3aac6d9134
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Feb 9 23:51:45 2016 +0100
shell: Fix another indentation warning
The compiler doesn't know about preprocessor conditionals, so indentation
changes confuse -Wmisleading-indentation.
src/shell-recorder.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index 8a907a9..62ef0c4 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -1258,12 +1258,12 @@ substitute_thread_count (const char *pipeline)
return g_strdup (pipeline);
#ifdef _SC_NPROCESSORS_ONLN
- {
- int n_processors = sysconf (_SC_NPROCESSORS_ONLN); /* includes hyper-threading */
- n_threads = MIN (MAX (1, n_processors - 1), 64);
- }
+ {
+ int n_processors = sysconf (_SC_NPROCESSORS_ONLN); /* includes hyper-threading */
+ n_threads = MIN (MAX (1, n_processors - 1), 64);
+ }
#else
- n_threads = 3;
+ n_threads = 3;
#endif
result = g_string_new (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]