Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelrieder committed Oct 8, 2012
1 parent 7d7904d commit c505f34
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/intcgm/cgm_bin_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
#include "cgm_types.h"
#include "cgm_bin_get.h"

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

static int cgm_bin_exec_command(tCGM* cgm, int, int);

/*******************************
Expand All @@ -22,7 +18,7 @@ static int cgm_bin_noop(tCGM* cgm)

static int cgm_bin_begmtf(tCGM* cgm)
{
if (cgm->buff.len) // TODO check
if (cgm->buff.len)
{
char *s;
if(cgm_bin_get_s(cgm, &s))
Expand Down Expand Up @@ -800,7 +796,7 @@ static int cgm_bin_plgset(tCGM* cgm)
return CGM_OK;
}

static int cgm_bin_cellar(tCGM* cgm) /* TODO: error */
static int cgm_bin_cellar(tCGM* cgm)
{
register int i, j, k, offset;
long prec;
Expand Down Expand Up @@ -2024,12 +2020,6 @@ static int cgm_bin_edgjoin(tCGM* cgm)
static int cgm_bin_escape(tCGM* cgm)
{
/* ignored */
// #if 1 // TODO check
// int i;
// unsigned char c;
// for(i=0; i<cgm->buff.len; i++)
// cgm_bin_get_c(cgm, &c);
// #else
long identifier;
char *data_rec;

Expand All @@ -2039,7 +2029,7 @@ static int cgm_bin_escape(tCGM* cgm)
return CGM_ERR_READ;

free(data_rec);
// #endif

return CGM_OK;
}

Expand Down

0 comments on commit c505f34

Please sign in to comment.