mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
Compiler warning about uninitialized values. Initialized.
ACC 29jul02 git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1471 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
5f66e08cf8
commit
a1cb4f5b03
1 file changed
+2
-2
@@ -427,9 +427,9 @@ int maxi_detect(struct i2c_adapter *adapter, int address,
|
||||
{
|
||||
struct i2c_client *new_client;
|
||||
struct maxi_data *data;
|
||||
enum maxi_type type;
|
||||
enum maxi_type type = 0;
|
||||
int i, j, err = 0;
|
||||
const char *type_name, *client_name;
|
||||
const char *type_name = NULL, *client_name = NULL;
|
||||
|
||||
if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA))
|
||||
goto ERROR0;
|
||||
|
||||
Reference in new issue
Block a user