diff options
author | Debarshi Ray <rishi@gnu.org> | 2007-11-02 17:23:32 +0530 |
---|---|---|
committer | Debarshi Ray <debray@libra.(none)> | 2007-11-02 17:23:32 +0530 |
commit | 6c3aaa05b5dc3a40bfa445fc1d45400353cc3aee (patch) | |
tree | 8721a61b6a4105d9da2b84032ecccabb8acce524 /libparted/filesys.c | |
parent | 5225dc5ac5eaea396bd0ca22383e2ba76cd71c0f (diff) | |
download | parted-6c3aaa05b5dc3a40bfa445fc1d45400353cc3aee.tar.gz |
Removing unnecessary type-casts and eerie comments.
Diffstat (limited to 'libparted/filesys.c')
-rw-r--r-- | libparted/filesys.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libparted/filesys.c b/libparted/filesys.c index 986f0ca..38d1f75 100644 --- a/libparted/filesys.c +++ b/libparted/filesys.c @@ -49,9 +49,8 @@ ped_file_system_type_register (PedFileSystemType* fs_type) PED_ASSERT (fs_type->ops != NULL, return); PED_ASSERT (fs_type->name != NULL, return); - /* pretend that "next" isn't part of the struct :-) */ - ((struct _PedFileSystemType*) fs_type)->next = fs_types; - fs_types = (struct _PedFileSystemType*) fs_type; + fs_type->next = fs_types; + fs_types = fs_type; } void |