[gparted] Remove left behind commented #includes from fat16.cc
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Remove left behind commented #includes from fat16.cc
- Date: Wed, 20 Feb 2019 16:49:19 +0000 (UTC)
commit d0281a32641602a330dc94f1c32bbade570c7ce0
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date: Fri Feb 1 15:56:54 2019 +0000
Remove left behind commented #includes from fat16.cc
According to the GIT history the lines were added by this commit:
8d808c0b62a8387ba1703a0493746add5785fff5
gparted-0.3.6 - code recreation from Source Forge
Looking at the SVN history this commit actually fleshed out the
implementations of fat16::get_label() and fat32::get_label() and added
the commented #includes:
https://sourceforge.net/p/gparted/svn/118
Added read label support for fat16 and fat32 using mtools mlabel command
2008-02-12
Then this SVN commit moved the mtools temporary file handling code into
Utils.cc, leaving behind the commented #includes:
https://sourceforge.net/p/gparted/svn/124
Added MTools temporary file handling functions
2008-02-19
Finally this commit removed fat32.cc by merging the code with fat16.cc:
519af1a7c08667c53e602012e2a49cbf5301f40c
Combine duplicate code for fat16/32
So remove the left behind commented #includes from fat16.cc.
src/fat16.cc | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/src/fat16.cc b/src/fat16.cc
index d7c4e3b7..0517b1e2 100644
--- a/src/fat16.cc
+++ b/src/fat16.cc
@@ -22,12 +22,6 @@
#include <glibmm/miscutils.h>
#include <glibmm/shell.h>
-/*****
-//For some reason unknown, this works without these include statements.
-#include <stdlib.h> // 'C' library for mkstemp()
-#include <unistd.h> // 'C' library for write(), close()
-#include <stdio.h> // 'C' library for remove()
-*****/
namespace GParted
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]