trivial: Fix some dead code as-seen by Coverity

This commit is contained in:
Richard Hughes 2020-09-01 14:12:27 +01:00
parent ec2fbb054c
commit 241bdbb0f5

View File

@ -1145,13 +1145,13 @@ fu_udev_device_get_sysfs_attr (FuUdevDevice *self, const gchar *attr,
}
return result;
#endif
#else
g_set_error_literal (error,
G_IO_ERROR,
G_IO_ERROR_FAILED,
"not supported");
return NULL;
#endif
}
/**