Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
470f6733
Commit
470f6733
authored
21 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a couple of gcc warnings
parent
a12a6200
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Common/Views.cpp
+2
-2
2 additions, 2 deletions
Common/Views.cpp
Graphics/gl2ps.cpp
+2
-2
2 additions, 2 deletions
Graphics/gl2ps.cpp
Mesh/Read_Mesh.cpp
+2
-2
2 additions, 2 deletions
Mesh/Read_Mesh.cpp
with
6 additions
and
6 deletions
Common/Views.cpp
+
2
−
2
View file @
470f6733
// $Id: Views.cpp,v 1.9
3
2003-0
3-21 00:52:35
geuzaine Exp $
// $Id: Views.cpp,v 1.9
4
2003-0
4-14 22:55:56
geuzaine Exp $
//
//
// Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -1363,7 +1363,7 @@ static void merge(List_T * a, List_T * b)
...
@@ -1363,7 +1363,7 @@ static void merge(List_T * a, List_T * b)
void
MergeViews
(
int
all
)
void
MergeViews
(
int
all
)
{
{
// sanity check
// sanity check
int
first
=
1
,
nbt
;
int
first
=
1
,
nbt
=
0
;
for
(
int
i
=
0
;
i
<
List_Nbr
(
CTX
.
post
.
list
)
-
1
;
i
++
)
{
for
(
int
i
=
0
;
i
<
List_Nbr
(
CTX
.
post
.
list
)
-
1
;
i
++
)
{
Post_View
*
v
=
(
Post_View
*
)
List_Pointer
(
CTX
.
post
.
list
,
i
);
Post_View
*
v
=
(
Post_View
*
)
List_Pointer
(
CTX
.
post
.
list
,
i
);
if
(
all
||
v
->
Visible
)
{
if
(
all
||
v
->
Visible
)
{
...
...
This diff is collapsed.
Click to expand it.
Graphics/gl2ps.cpp
+
2
−
2
View file @
470f6733
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* GL2PS, an OpenGL to PostScript Printing Library
* GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2003 Christophe Geuzaine
* Copyright (C) 1999-2003 Christophe Geuzaine
*
*
* $Id: gl2ps.cpp,v 1.6
3
2003-0
3
-1
0 16:21:38
geuzaine Exp $
* $Id: gl2ps.cpp,v 1.6
4
2003-0
4
-1
4 22:55:56
geuzaine Exp $
*
*
* E-mail: geuz@geuz.org
* E-mail: geuz@geuz.org
* URL: http://www.geuz.org/gl2ps/
* URL: http://www.geuz.org/gl2ps/
...
@@ -1319,7 +1319,7 @@ void gl2psPrintPostScriptPixmap(GLfloat x, GLfloat y, GLsizei width, GLsizei hei
...
@@ -1319,7 +1319,7 @@ void gl2psPrintPostScriptPixmap(GLfloat x, GLfloat y, GLsizei width, GLsizei hei
FILE
*
stream
){
FILE
*
stream
){
typedef
unsigned
char
Uchar
;
typedef
unsigned
char
Uchar
;
int
status
=
1
,
nbhex
,
nbyte2
,
nbyte4
,
nbyte8
;
int
status
=
1
,
nbhex
,
nbyte2
,
nbyte4
,
nbyte8
;
unsigned
int
row
,
col
,
col_max
;
GLsizei
row
,
col
,
col_max
;
float
dr
,
dg
,
db
,
fgrey
;
float
dr
,
dg
,
db
,
fgrey
;
Uchar
red
,
green
,
blue
,
b
,
grey
;
Uchar
red
,
green
,
blue
,
b
,
grey
;
/* FIXME: this has to be generalized... */
/* FIXME: this has to be generalized... */
...
...
This diff is collapsed.
Click to expand it.
Mesh/Read_Mesh.cpp
+
2
−
2
View file @
470f6733
// $Id: Read_Mesh.cpp,v 1.5
3
2003-0
3-21 00:52:41
geuzaine Exp $
// $Id: Read_Mesh.cpp,v 1.5
4
2003-0
4-14 22:55:56
geuzaine Exp $
//
//
// Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -90,7 +90,7 @@ void Read_Mesh_MSH(Mesh * M, FILE * File_GEO)
...
@@ -90,7 +90,7 @@ void Read_Mesh_MSH(Mesh * M, FILE * File_GEO)
{
{
char
String
[
256
];
char
String
[
256
];
int
Nbr_Nodes
,
Nbr_Elements
,
i_Node
,
i_Element
;
int
Nbr_Nodes
,
Nbr_Elements
,
i_Node
,
i_Element
;
int
Num
,
Type
,
Physical
,
Elementary
,
i
,
j
,
replace
;
int
Num
,
Type
,
Physical
,
Elementary
,
i
,
j
;
double
x
,
y
,
z
,
lc1
,
lc2
;
double
x
,
y
,
z
,
lc1
,
lc2
;
Vertex
*
vert
,
verts
[
NB_NOD_MAX_ELM
],
*
vertsp
[
NB_NOD_MAX_ELM
],
**
vertspp
;
Vertex
*
vert
,
verts
[
NB_NOD_MAX_ELM
],
*
vertsp
[
NB_NOD_MAX_ELM
],
**
vertspp
;
Simplex
*
simp
;
Simplex
*
simp
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment