Changes in uspace/srv/fs/fat/fat_fat.c [10092c9a:dc6b148] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
r10092c9a rdc6b148 42 42 #include "../../vfs/vfs.h" 43 43 #include <libfs.h> 44 #include < block.h>44 #include <libblock.h> 45 45 #include <errno.h> 46 46 #include <byteorder.h> … … 128 128 { 129 129 fat_cluster_t firstc = nodep->firstc; 130 fat_cluster_t currc = 0;130 fat_cluster_t currc; 131 131 aoff64_t relbn = bn; 132 132 int rc; … … 194 194 uint32_t clusters; 195 195 uint32_t max_clusters; 196 fat_cluster_t c = 0;196 fat_cluster_t c; 197 197 int rc; 198 198 … … 679 679 fat_cluster_t *lifo; /* stack for storing free cluster numbers */ 680 680 unsigned found = 0; /* top of the free cluster number stack */ 681 fat_cluster_t clst; 682 fat_cluster_t value = 0; 683 fat_cluster_t clst_last1 = FAT_CLST_LAST1(bs); 681 fat_cluster_t clst, value, clst_last1 = FAT_CLST_LAST1(bs); 684 682 int rc = EOK; 685 683 … … 785 783 { 786 784 service_id_t service_id = nodep->idx->service_id; 787 fat_cluster_t lastc = 0;785 fat_cluster_t lastc; 788 786 uint8_t fatno; 789 787 int rc; … … 909 907 int fat_sanity_check(fat_bs_t *bs, service_id_t service_id) 910 908 { 911 fat_cluster_t e0 = 0; 912 fat_cluster_t e1 = 0; 909 fat_cluster_t e0, e1; 913 910 unsigned fat_no; 914 911 int rc;
Note:
See TracChangeset
for help on using the changeset viewer.