]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/jit/jit-logging.c
Update copyright years.
[thirdparty/gcc.git] / gcc / jit / jit-logging.c
index 9c39f62dd49d9b125ad590427af43c12d735f8f6..bd50c4d3fc2581b308dfcff93dfe7f9743b1a8a2 100644 (file)
@@ -1,5 +1,5 @@
 /* Internals of libgccjit: logging
-   Copyright (C) 2014-2017 Free Software Foundation, Inc.
+   Copyright (C) 2014-2022 Free Software Foundation, Inc.
    Contributed by David Malcolm <dmalcolm@redhat.com>.
 
 This file is part of GCC.
@@ -79,7 +79,7 @@ logger::decref (const char *reason)
   if (m_log_refcount_changes)
     log ("%s: reason: %s refcount now %i",
         __PRETTY_FUNCTION__, reason, m_refcount);
-  if (0 == m_refcount)
+  if (m_refcount == 0)
     delete this;
 }