diff --git a/examples/main.c b/examples/main.c
index 5f914fc3339c0b3037d11d8dcb92fd5ef3cac10c..98f6be5d3e295010860fe430fff46e8fe2b79f53 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -470,8 +470,7 @@ int main(int argc, char *argv[]) {
   }
 
   /* Check that we can write the structure finding catalogues by testing if the
-   * output
-   * directory exists and is searchable and writable. */
+   * output directory exists and is searchable and writable. */
   if (with_structure_finding) {
     char stfbasename[PARSER_MAX_LINE_SIZE];
     parser_get_param_string(params, "StructureFinding:basename", stfbasename);
diff --git a/src/engine.c b/src/engine.c
index 1fba65d0b49ea54db543701edd385aa43ff2ea02..27a6930c0f95b333773ec0e8c1f77f86991cc137 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -2785,7 +2785,7 @@ void engine_init_particles(struct engine *e, int flag_entropy_ICs,
     gravity_exact_force_compute(e->s, e);
 #endif
 
-  scheduler_write_dependencies(&e->sched, e->verbose);
+  if (e->verbose) scheduler_write_dependencies(&e->sched, e->verbose);
   if (e->nodeID == 0) scheduler_write_task_level(&e->sched);
 
   /* Run the 0th time-step */
@@ -4638,8 +4638,7 @@ void engine_config(int restart, struct engine *e, struct swift_params *params,
   /* Expected average for tasks per cell. If set to zero we use a heuristic
    * guess based on the numbers of cells and how many tasks per cell we expect.
    * On restart this number cannot be estimated (no cells yet), so we recover
-   * from the end of the dumped run. Can be changed on restart.
-   */
+   * from the end of the dumped run. Can be changed on restart. */
   e->tasks_per_cell =
       parser_get_opt_param_int(params, "Scheduler:tasks_per_cell", 0);
   int maxtasks = 0;