Browse Source

Work around GCC bug 106436

* src/tar.c (optloc_eq): Use ‘assume’ to pacify GCC bug.
Paul Eggert 2 years ago
parent
commit
4e9e55fbf9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/tar.c

+ 1 - 0
src/tar.c

@@ -959,6 +959,7 @@ option_set_in_cl (int id)
 static int
 optloc_eq (struct option_locus *a, struct option_locus *b)
 {
+  assume (a);  /* Pacify GCC bug 106436.  */
   if (a->source != b->source)
     return 0;
   if (a->source == OPTS_COMMAND_LINE)