Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / math / vecdump.cpp
index b44e42f979a497ab2425d8596dbaaca39c773eac..ea70c75805a81bd36ebc4109d4d0c9abb4168cc5 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -201,7 +201,7 @@ void pr_rvecs(FILE *fp, int indent, const char *title, const rvec vec[], int n)
     const char *format;
     int         i, j;
 
-    if (getenv("GMX_PRINT_LONGFORMAT") != NULL)
+    if (getenv("GMX_PRINT_LONGFORMAT") != nullptr)
     {
         format = flong;
     }
@@ -238,7 +238,7 @@ void pr_rvecs_of_dim(FILE *fp, int indent, const char *title, const rvec vec[],
     const char *format;
     int         i, j;
 
-    if (getenv("GMX_PRINT_LONGFORMAT") != NULL)
+    if (getenv("GMX_PRINT_LONGFORMAT") != nullptr)
     {
         format = flong;
     }