mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 16:14:16 +01:00 
			
		
		
		
	Fixed shadowed variable warnings
- Fixed shadowed variable warnings in lfs_dir_find. - Fixed unused parameter warnings when LFS_NO_MALLOC is enabled. - Added extra warning flags to CFLAGS. - Updated tests so they don't shadow the "size" variable for -Wshadow
This commit is contained in:
		
				
					committed by
					
						 Christopher Haster
						Christopher Haster
					
				
			
			
				
	
			
			
			
						parent
						
							93a2e0bbe5
						
					
				
				
					commit
					51346b8bf4
				
			| @@ -30,7 +30,7 @@ TEST | ||||
|  | ||||
| w_test() { | ||||
| tests/test.py << TEST | ||||
|     lfs_size_t size = $1; | ||||
|     size = $1; | ||||
|     lfs_size_t chunk = 31; | ||||
|     srand(0); | ||||
|     lfs_mount(&lfs, &cfg) => 0; | ||||
| @@ -50,7 +50,7 @@ TEST | ||||
|  | ||||
| r_test() { | ||||
| tests/test.py << TEST | ||||
|     lfs_size_t size = $1; | ||||
|     size = $1; | ||||
|     lfs_size_t chunk = 29; | ||||
|     srand(0); | ||||
|     lfs_mount(&lfs, &cfg) => 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user