Skip to content

Commit 0c4cca0

Browse files
committed
readability
1 parent e0baa9b commit 0c4cca0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sources/driver/camera.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ int array_gcd(const uint8_t *arr, uint16_t size)
4343
int Camera::deviceId(const char *device)
4444
{
4545

46-
char *devDevice;
47-
devDevice = realpath(device, NULL);
46+
char *devDevice = realpath(device, NULL);
4847
int id;
4948
if (devDevice == NULL || sscanf(devDevice, "/dev/video%d", &id) != 1)
5049
{

0 commit comments

Comments
 (0)