Add void casts to unused parameters
This commit is contained in:
		@@ -651,6 +651,8 @@ shellmatta_retCode_t shell_cmd_overtemp_cfg(const shellmatta_handle_t handle, co
 | 
				
			|||||||
	char option;
 | 
						char option;
 | 
				
			||||||
	bool temp_passed = false;
 | 
						bool temp_passed = false;
 | 
				
			||||||
	bool persistent = false;
 | 
						bool persistent = false;
 | 
				
			||||||
 | 
						(void)args;
 | 
				
			||||||
 | 
						(void)len;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	static const shellmatta_opt_long_t options[] = {
 | 
						static const shellmatta_opt_long_t options[] = {
 | 
				
			||||||
		{"persistent", 'p', SHELLMATTA_OPT_ARG_NONE},
 | 
							{"persistent", 'p', SHELLMATTA_OPT_ARG_NONE},
 | 
				
			||||||
@@ -691,6 +693,8 @@ shellmatta_retCode_t shell_cmd_execute(const shellmatta_handle_t handle, const c
 | 
				
			|||||||
	static bool running = false;
 | 
						static bool running = false;
 | 
				
			||||||
	char *data;
 | 
						char *data;
 | 
				
			||||||
	uint32_t dlen;
 | 
						uint32_t dlen;
 | 
				
			||||||
 | 
						(void)args;
 | 
				
			||||||
 | 
						(void)len;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	shellmatta_read(handle, &data, &dlen);
 | 
						shellmatta_read(handle, &data, &dlen);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user