~ubuntu-branches/ubuntu/quantal/kdegames/quantal

« back to all changes in this revision

Viewing changes to kpat/patsolve/patsolve.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:50 UTC
  • mfrom: (1.3.14)
  • Revision ID: package-import@ubuntu.com-20111215141750-6tj6brf4azhrt915
Tags: 4:4.7.90-0ubuntu1
new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <cstdarg>
30
30
#include <cstdlib>
31
31
#include <cstring>
 
32
#include <cassert>
32
33
#include <sys/types.h>
33
34
 
34
35
 
105
106
    /* Fill in the Possible array. */
106
107
 
107
108
    alln = get_possible_moves(&a, &numout);
 
109
    assert(alln < MAXMOVES);
108
110
 
109
111
    if (alln == 0) {
110
112
        if ( isWon() ) {