thermferm/devices.c

changeset 570
1e0192b295b9
parent 553
4091d4fe217f
child 573
479878d528f2
--- a/thermferm/devices.c	Thu Jan 10 16:33:42 2019 +0100
+++ b/thermferm/devices.c	Mon Jan 14 22:46:27 2019 +0100
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * Copyright (C) 2014..2018
+ * Copyright (C) 2014..2019
  *   
  * Michiel Broek <mbroek at mbse dot eu>
  *
@@ -481,7 +481,6 @@
 		    for (i = 0; i < subdevices; i++) {
 			ndev = (devices_list *)malloc(sizeof(devices_list));
 			ndev->next = NULL;
-			ndev->version = 1;
 			ndev->uuid = malloc(37);
 			uuid_generate(uu);
 			uuid_unparse(uu, ndev->uuid);
@@ -642,7 +641,6 @@
     for (i = found; i < subdevices; i++) {
 	ndev = (devices_list *)malloc(sizeof(devices_list));
 	ndev->next = NULL;
-	ndev->version = 1;
 	ndev->uuid = malloc(37);
 	uuid_generate(uu);
 	uuid_unparse(uu, ndev->uuid);

mercurial