Ticket #31 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

Undeclared 'area' variable used in GEOSLength in geos_c.cpp

Reported by: mloskot Owned by: mloskot
Priority: major Milestone:
Component: C API Version: svn-trunk
Severity: Content Keywords: imported,phpbugtracker
Cc: mloskot

Description (last modified by mloskot) (diff)

I encounter small error/typo:

Error 7 error C2065: 'area' : undeclared identifier
d:__projectsgeos_cvsgeoscapigeos_c.cpp	510

Resolution is to change lines:

try {
   *area = g->getLength();
   return 1;
}

to read:

try {
   *lenght = g->getLength();
   return 1;
}

Attachments

geos_c.cpp-mloskot-20060228.3.patch Download (446 bytes) - added by mateusz@… 7 years ago.
Patch proposal created using cvs diff -Nua

Change History

Changed 7 years ago by mateusz@…

Patch proposal created using cvs diff -Nua

Changed 7 years ago by strk@…

  • resolution changed from none to fixed

Changed 6 years ago by mloskot

  • status changed from closed to reopened
  • description modified (diff)
  • reporter changed from mateusz@… to mloskot
  • version changed from 3.0.0 to svn-trunk
  • milestone imported deleted
  • resolution fixed deleted

Changed 6 years ago by mloskot

  • owner changed from strk@… to mloskot
  • status changed from reopened to new
  • component changed from C-API to C API
  • milestone set to 3.0.0

Changed 6 years ago by mloskot

  • status changed from new to closed
  • resolution set to fixed

Changed 6 years ago by mloskot

  • cc mloskot added
  • priority changed from 1 to major
  • severity changed from Unassigned to Content

Changed 4 years ago by anonymous

  • milestone 3.0.0 deleted

Milestone 3.0.0 deleted

Note: See TracTickets for help on using tickets.