- Timestamp:
- 2013-03-26T15:06:35Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ea15a89a
- Parents:
- 8a26f82 (diff), 5c4356b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/srv/fs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_fat.c
r8a26f82 rb2fa2d86 401 401 { 402 402 service_id_t service_id = nodep->idx->service_id; 403 exfat_cluster_t lastc ;403 exfat_cluster_t lastc = 0; 404 404 int rc; 405 405 -
uspace/srv/fs/fat/fat_fat.c
r8a26f82 rb2fa2d86 128 128 { 129 129 fat_cluster_t firstc = nodep->firstc; 130 fat_cluster_t currc ;130 fat_cluster_t currc = 0; 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 ;196 fat_cluster_t c = 0; 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, value, clst_last1 = FAT_CLST_LAST1(bs); 681 fat_cluster_t clst; 682 fat_cluster_t value = 0; 683 fat_cluster_t clst_last1 = FAT_CLST_LAST1(bs); 682 684 int rc = EOK; 683 685 … … 783 785 { 784 786 service_id_t service_id = nodep->idx->service_id; 785 fat_cluster_t lastc ;787 fat_cluster_t lastc = 0; 786 788 uint8_t fatno; 787 789 int rc; … … 907 909 int fat_sanity_check(fat_bs_t *bs, service_id_t service_id) 908 910 { 909 fat_cluster_t e0, e1; 911 fat_cluster_t e0 = 0; 912 fat_cluster_t e1 = 0; 910 913 unsigned fat_no; 911 914 int rc; -
uspace/srv/fs/mfs/mfs_ops.c
r8a26f82 rb2fa2d86 773 773 { 774 774 int rc; 775 fs_node_t *fn ;775 fs_node_t *fn = NULL; 776 776 777 777 rc = mfs_node_get(&fn, service_id, index); … … 1108 1108 mfs_sync(service_id_t service_id, fs_index_t index) 1109 1109 { 1110 fs_node_t *fn ;1110 fs_node_t *fn = NULL; 1111 1111 int rc = mfs_node_get(&fn, service_id, index); 1112 1112 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.