Always define options.jobs

This commit is contained in:
Giuseppe Scrivano 2013-11-10 14:33:04 +01:00
parent 93597efe7b
commit 0d58672dc6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2013-11-10 Giuseppe Scrivano <gscrivan@redhat.com>
* options.h (struct options) [!ENABLE_THREADS]: Define jobs.
* progress.c (progress_create): Do not set `current_progress'.
(progress_finish): Do not reset `current_progress' when the progress bar
to remove is the first one in the list.

View File

@ -291,9 +291,7 @@ struct options
bool report_bps; /*Output bandwidth in bits format*/
#ifdef ENABLE_THREADS
int jobs; /* How many threads use at the same time. */
#endif
int jobs; /* How many threads use at the same time. */
};
extern struct options opt;