Skip to content
Permalink
Browse files

migrate: Fix warning due to use of char as pointer

  • Loading branch information
neverpanic committed Jan 2, 2018
1 parent 87f7cef commit 871a01a77b154be6078debfb155ccc434946a373
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cregistry/snapshot.c
@@ -477,7 +477,7 @@ int reg_snapshot_ports_get(reg_snapshot* snapshot, port*** ports, reg_error* err
current_port->variants = strdup(variantstr);
free(variantstr);
} else {
current_port->variants = '\0';
current_port->variants = "\0";
}

if (!reg_listcat((void***)&result, &result_count, &result_space, current_port)) {

0 comments on commit 871a01a

Please sign in to comment.
You can’t perform that action at this time.