Переглянути джерело

Remove unused Rast__open_null_write() function

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65322 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 10 роки тому
батько
коміт
b7a3c31c18
1 змінених файлів з 0 додано та 24 видалено
  1. 0 24
      lib/raster/put_row.c

+ 0 - 24
lib/raster/put_row.c

@@ -507,30 +507,6 @@ static void put_null_value_row(int fd, const char *buf)
     fcb->null_cur_row++;
 }
 
-/*!
-   \brief Open null file for write
-
-   \param fd file descriptor of raster cell data file
-
-   \return field descriptor of null data file
- */
-int Rast__open_null_write(int fd)
-{
-    struct fileinfo *fcb = &R__.fileinfo[fd];
-    int null_fd;
-
-    if (access(fcb->null_temp_name, 0) != 0)
-	G_fatal_error(_("Unable to find a temporary null file <%s>"),
-		      fcb->null_temp_name);
-
-    null_fd = open(fcb->null_temp_name, O_WRONLY);
-    if (null_fd < 0)
-	G_fatal_error(_("Unable to open null file <%s>"),
-		      fcb->null_temp_name);
-
-    return null_fd;
-}
-
 static void write_null_bits_compressed(int null_fd, const unsigned char *flags,
 				int row, size_t size, int fd)
 {