shell: Fix another indentation warning
The compiler doesn't know about preprocessor conditionals, so indentation changes confuse -Wmisleading-indentation.
This commit is contained in:
parent
57f9ffcaa7
commit
00814dd159
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user