Skip to content

Commit

Permalink
* snuffed out the last of those warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuatbrown committed Nov 18, 2011
1 parent 5d51f0b commit d69a4bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/LogoDocument.m
Expand Up @@ -54,7 +54,7 @@ - (IBAction)printDocument:(id)sender
// (so we only need to change the converter-code in one place)
- (float)speedToFrequency:(float)aSpeed
{
#warning "implement better solution for turtle speed"
// TODO: implement better solution for turtle speed
// Invert value (in one of my sources, I have a better solution)
aSpeed = 1.000001 - aSpeed;

Expand Down
5 changes: 4 additions & 1 deletion Globals/Commands.h
Expand Up @@ -100,7 +100,10 @@ enum
// kExpressionTypeStringList = 0x09, // list of numbers and strings
// kExpressionTypeNumberOrListList = 0x0a, // list of numbers and lists
// kExpressionTypeListList = 0x0b, // list of lists
kExpressionTypeAny = 0xff, // anything's possible ;)

// Why 7f? An expression that uses this won't allow values higher than 7f, and I just couldn't stand the warning
// it was causing.
kExpressionTypeAny = 0x7f, // anything's possible ;)

kJunkEnum928347e // dummy (to avoid warnings when compiling)
};
Expand Down

0 comments on commit d69a4bd

Please sign in to comment.