Skip to content

Commit ce5d16c

Browse files
author
Monte Goulding
committed
Fixes a couple of silly mistakes
1 parent 269056c commit ce5d16c

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

lcidlc/src/Interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static bool InterfaceReport(InterfaceRef self, Position p_where, InterfaceError
118118
fprintf(stderr, "Optional parameters must be of 'in' type\n");
119119
break;
120120
case kInterfaceErrorNonPointerOptionalParameterMustHaveDefaultValue:
121-
fprintf(stderr, "Delfault values must be specified for non-pointer type optional parameters\n");
121+
fprintf(stderr, "Default values must be specified for non-pointer type optional parameters\n");
122122
break;
123123
case kInterfaceErrorDefaultWrongType:
124124
fprintf(stderr, "Default specified is the wrong type\n");

lcidlc/src/Value.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,6 @@ bool BooleanCreateWithBool(bool value, ValueRef& r_value)
345345
self -> type = kValueTypeBoolean;
346346
self -> boolean = value;
347347

348-
s_names = self;
349-
350348
r_value = self;
351349
}
352350
else

0 commit comments

Comments
 (0)