Re: Unused variable in gomoku

2017-12-27 Thread Peter Williams
PM, Peter Williams wrote: > Hi Everyone, > > I recently noticed that there is an unused variable in gomoku.h. I > have included a diff that removes the unused variable, and have > verified that gomoku compiles cleanly afterwards. I have performed a > search for this header file

Unused variable in gomoku

2017-12-26 Thread Peter Williams
Hi Everyone, I recently noticed that there is an unused variable in gomoku.h. I have included a diff that removes the unused variable, and have verified that gomoku compiles cleanly afterwards. I have performed a search for this header file within the source tree, and it looks like gomoku is the o

strtonum() for /usr/games/caesar

2016-02-23 Thread Peter Williams
Hi Everyone, I noticed that /usr/games/caesar uses atoi() in order to parse the rotation argument. I thought that it would be better if this used strtonum(), so I've submitted a diff that changes this. It also changes the rotation bounds check in the printit() function, and brings it into the argu