Skip to content

Commit

Permalink
Merge pull request #1989 from gforney/devel
Browse files Browse the repository at this point in the history
smokeview source: fix shadowed variable warning - labelscoll -> label…
  • Loading branch information
gforney authored Aug 14, 2024
2 parents b245b5b + 67c36ec commit 95a4735
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/smokeview/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void OutputBarText(float x, float y, const GLfloat *color, char *string){

/* ------------------ WriteLabels ------------------------ */

void WriteLabels(labels_collection *labelscoll){
void WriteLabels(labels_collection *labelscoll_arg){
labeldata *first_label, *thislabel;
FILE *stream = NULL;
char quote[2];
Expand All @@ -396,7 +396,7 @@ void WriteLabels(labels_collection *labelscoll){
stream = fopen(event_filename, "w");
if(stream==NULL)return;

first_label = labelscoll->label_first_ptr;
first_label = labelscoll_arg->label_first_ptr;
strcpy(quote,"\"");

for(thislabel = first_label->next; thislabel->next!=NULL; thislabel = thislabel->next){
Expand All @@ -418,10 +418,10 @@ void WriteLabels(labels_collection *labelscoll){

/* ------------------ DrawLabels ------------------------ */

void DrawLabels(labels_collection *labelscoll){
void DrawLabels(labels_collection *labelscoll_arg){
labeldata *first_label, *thislabel;

first_label = labelscoll->label_first_ptr;
first_label = labelscoll_arg->label_first_ptr;

glPushMatrix();
glScalef(SCALE2SMV(1.0),SCALE2SMV(1.0),SCALE2SMV(1.0));
Expand Down

0 comments on commit 95a4735

Please sign in to comment.