Fix de-selecting of drivers in configure by removing non-portable switch to sed.
Silent some compiler and lint warnings.
This commit is contained in:
@@ -117,6 +117,7 @@ typedef struct imon_private_data {
|
||||
MODULE_EXPORT int imon_init (Driver *drvthis)
|
||||
{
|
||||
PrivateData *p = NULL;
|
||||
char buf[256];
|
||||
|
||||
// Alocate, initialize and store private p
|
||||
p = (PrivateData *) calloc(1, sizeof(PrivateData));
|
||||
@@ -130,7 +131,6 @@ MODULE_EXPORT int imon_init (Driver *drvthis)
|
||||
return -1;
|
||||
}
|
||||
|
||||
char buf[256];
|
||||
p->imon_fd = -1;
|
||||
p->width = 0;
|
||||
p->height = 0;
|
||||
|
||||
Reference in New Issue
Block a user