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);
|
return g_strdup (pipeline);
|
||||||
|
|
||||||
#ifdef _SC_NPROCESSORS_ONLN
|
#ifdef _SC_NPROCESSORS_ONLN
|
||||||
{
|
{
|
||||||
int n_processors = sysconf (_SC_NPROCESSORS_ONLN); /* includes hyper-threading */
|
int n_processors = sysconf (_SC_NPROCESSORS_ONLN); /* includes hyper-threading */
|
||||||
n_threads = MIN (MAX (1, n_processors - 1), 64);
|
n_threads = MIN (MAX (1, n_processors - 1), 64);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
n_threads = 3;
|
n_threads = 3;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
result = g_string_new (NULL);
|
result = g_string_new (NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user