VM: add void for initVM param (silence clang warning)

This commit is contained in:
Andrew Scott 2024-08-21 13:35:04 -04:00
parent 51663f0ca9
commit dcc62257b3
Signed by: a
GPG key ID: 7CD5A5977E4931C1

2
vm.c
View file

@ -4,7 +4,7 @@
#include "gc.h"
#include "vm.h"
struct virtualMachine *initVM() {
struct virtualMachine *initVM(void) {
struct virtualMachine *vm = malloc(sizeof(struct virtualMachine));
vm->stackSize = 0;
vm->refCount = 0;