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:
Albert Cranford committed 2002-07-30 03:02:37 +00:00
1 parent 5f66e08cf8
commit a1cb4f5b03
1 file changed
+2 -2
+2 -2
View File
@@ -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;