From d422f4e0c23de6ec7c911c32c134196f1e45261e Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 4 Dec 2024 11:54:58 +0100 Subject: [PATCH] Remove use of obsolete CPL_CVSID() macro This macro dates back to CVS time and would only make sense if we substituted the $Id$, which we don't do. We also plan to remove the macro from GDAL's cpl_port.h header in https://github.com/OSGeo/gdal/issues/11433 , so let's remove use of it by its only known external user :-) --- grass.cpp | 2 -- ogrgrassdatasource.cpp | 2 -- ogrgrassdriver.cpp | 2 -- ogrgrasslayer.cpp | 2 -- 4 files changed, 8 deletions(-) diff --git a/grass.cpp b/grass.cpp index 06068ce..6e362cd 100644 --- a/grass.cpp +++ b/grass.cpp @@ -59,8 +59,6 @@ extern "C" #define GRASS_MAX_COLORS 100000 // what is the right value -CPL_CVSID("$Id$") - /************************************************************************/ /* Grass2CPLErrorHook() */ /************************************************************************/ diff --git a/ogrgrassdatasource.cpp b/ogrgrassdatasource.cpp index 4220a52..7edd57d 100644 --- a/ogrgrassdatasource.cpp +++ b/ogrgrassdatasource.cpp @@ -31,8 +31,6 @@ #include "cpl_conv.h" #include "cpl_string.h" -CPL_CVSID("$Id$") - /************************************************************************/ /* Grass2CPLErrorHook() */ /************************************************************************/ diff --git a/ogrgrassdriver.cpp b/ogrgrassdriver.cpp index bc83cad..a33fde4 100644 --- a/ogrgrassdriver.cpp +++ b/ogrgrassdriver.cpp @@ -35,8 +35,6 @@ extern "C" void RegisterOGRGRASS(); } -CPL_CVSID("$Id$") - /************************************************************************/ /* Open() */ /************************************************************************/ diff --git a/ogrgrasslayer.cpp b/ogrgrasslayer.cpp index 7e7938e..09a6731 100644 --- a/ogrgrasslayer.cpp +++ b/ogrgrasslayer.cpp @@ -31,8 +31,6 @@ #include "ogrgrass.h" #include "cpl_conv.h" -CPL_CVSID("$Id$") - /************************************************************************/ /* OGRGRASSLayer() */ /************************************************************************/