diff --git a/examples/main.c b/examples/main.c
index 8771a59031ce9608f6617331a48ae3424a589eeb..6bf9d4e793c047592191f0bb23ffd5c9c355d84f 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -1152,7 +1152,7 @@ int main(int argc, char *argv[]) {
       task_dump_stats(dumpfile, &e, /* header = */ 0, /* allranks = */ 1);
     }
 
-    /* Dump memory use report if collected. */
+      /* Dump memory use report if collected. */
 #ifdef SWIFT_MEMUSE_REPORTS
     {
       char dumpfile[40];
diff --git a/src/cell.c b/src/cell.c
index 716869c28e60fdffd755d87e62f024528a0327c9..9e05d555c7fc500e31e12fca8c568a2e3a47d600 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -4945,8 +4945,8 @@ struct spart *cell_add_spart(struct engine *e, struct cell *const c) {
       }
     }
 
-    /* Check that the cell was indeed drifted to this point to avoid future
-     * issues */
+      /* Check that the cell was indeed drifted to this point to avoid future
+       * issues */
 #ifdef SWIFT_DEBUG_CHECKS
     if (top->hydro.super != NULL && top->stars.count > 0 &&
         top->stars.ti_old_part != e->ti_current) {
diff --git a/src/collectgroup.c b/src/collectgroup.c
index 1864ba55f6fc933807fdb6a46455bdc58bd9d3d8..a9fe2da8ba4bee69f9af4d1644477ed524e33da9 100644
--- a/src/collectgroup.c
+++ b/src/collectgroup.c
@@ -169,6 +169,7 @@ void collectgroup1_apply(struct collectgroup1 *grp1, struct engine *e) {
  * @param total_nr_cells total number of all cells on rank.
  * @param total_nr_tasks total number of tasks on rank.
  * @param tasks_per_cell the used number of tasks per cell.
+ * @param sfh The star formation history logger
  */
 void collectgroup1_init(
     struct collectgroup1 *grp1, size_t updated, size_t g_updated,
diff --git a/src/engine.c b/src/engine.c
index abb43cd600554c50d167054ce196556c252c0e79..42de0494a3265d0de8b7c94e2a3f2f2c5609b0f4 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -3953,7 +3953,7 @@ void engine_check_for_dumps(struct engine *e) {
 #endif
         }
 
-        /* Dump... */
+          /* Dump... */
 #ifdef WITH_LOGGER
         /* Write a file containing the offsets in the particle logger. */
         engine_dump_index(e);
diff --git a/src/runner.c b/src/runner.c
index b7595f6ee703806287ee64279f1ee5a15edb1e8b..ec5a0e9aaedab7e13859e01e8ac7fcacb25bd40c 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -1608,10 +1608,10 @@ void runner_do_ghost(struct runner *r, struct cell *c, int timer) {
           if (((p->h >= hydro_h_max) && (f < 0.f)) ||
               ((p->h <= hydro_h_min) && (f > 0.f))) {
 
-            /* We have a particle whose smoothing length is already set (wants
-             * to be larger but has already hit the maximum OR wants to be
-             * smaller but has already reached the minimum). So, just tidy up as
-             * if the smoothing length had converged correctly  */
+          /* We have a particle whose smoothing length is already set (wants
+           * to be larger but has already hit the maximum OR wants to be
+           * smaller but has already reached the minimum). So, just tidy up as
+           * if the smoothing length had converged correctly  */
 
 #ifdef EXTRA_HYDRO_LOOP