adding the return status to fsOpenSystemPath so that gcc doesn't throw warnings
This commit is contained in:
		
							
								
								
									
										4
									
								
								src/fs.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								src/fs.c
									
									
									
									
									
								
							@@ -674,7 +674,7 @@ void fsMakeDir(FileSystem* fs, const char* name)
 | 
			
		||||
 | 
			
		||||
#if defined(__WINDOWS__) || defined(__LINUX__) || defined(__MACOSX__)
 | 
			
		||||
 | 
			
		||||
void fsOpenSystemPath(FileSystem* fs, const char* path)
 | 
			
		||||
int fsOpenSystemPath(FileSystem* fs, const char* path)
 | 
			
		||||
{
 | 
			
		||||
	char command[FILENAME_MAX];
 | 
			
		||||
 | 
			
		||||
@@ -692,7 +692,7 @@ void fsOpenSystemPath(FileSystem* fs, const char* path)
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
	tic_system(UTF8ToString(command));
 | 
			
		||||
	return tic_system(UTF8ToString(command));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								src/fs.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								src/fs.h
									
									
									
									
									
								
							@@ -67,7 +67,7 @@ bool fsCopyFile(const char* src, const char* dst);
 | 
			
		||||
void fsGetFileData(GetCallback callback, const char* name, void* buffer, size_t size, u32 mode, void* data);
 | 
			
		||||
void fsOpenFileData(OpenCallback callback, void* data);
 | 
			
		||||
void fsOpenWorkingFolder(FileSystem* fs);
 | 
			
		||||
void fsOpenSystemPath(FileSystem* fs, const char* path);
 | 
			
		||||
int fsOpenSystemPath(FileSystem* fs, const char* path);
 | 
			
		||||
bool fsIsDir(FileSystem* fs, const char* dir);
 | 
			
		||||
bool fsIsInPublicDir(FileSystem* fs);
 | 
			
		||||
bool fsChangeDir(FileSystem* fs, const char* dir);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user