Revision 1262

trunk/src/linad99/ddlist.cpp (revision 1262)
26 26

  
27 27
//////////////////////////////
28 28
// global list names
29

  
30 29
//dlist * GRAD_LIST;
31 30
//extern dlist * GRAD_LIST; //js
32 31
/////////////////////////////
33
extern char demo_capacity[];
34
extern char please_buy[];
35
extern char otter_address1[];
36
extern char otter_address2[];
37
extern char otter_address3[];
38
extern char otter_address4[];
39
extern char otter_address5[];
40 32

  
41

  
42 33
char* ddlist_space;
43 34
char* ddlist_spacea;
44 35

  
......
48 39
 */
49 40
dlist::dlist(void)
50 41
{
51
  int on,nopt;
42
  int on,nopt = 0;
52 43
  if ( (on=option_match(ad_comm::argc,ad_comm::argv,"-mdl",nopt))>-1)
53 44
  {
54 45
    if (nopt ==1)
......
108 99
  if (nlinks > (unsigned int)gradient_structure::MAX_DLINKS)
109 100
  {
110 101
    cerr << "Need to increase the maximum number of dlinks" << endl;
111
#if defined(AD_DEMO)
112
    cout << demo_capacity << endl;
113
    cout << please_buy << endl;
114
    cout << otter_address1 << endl;
115
    cout << otter_address2 << endl;
116
    cout << otter_address3 << endl;
117
    cout << otter_address4 << endl;
118
    cout << otter_address5 << endl;
119
#endif
120 102
    ad_exit(1);
121 103
  }
122 104

  

Also available in: Unified diff