Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-11-07 19:43:44 +0300
committerTon Roosendaal <ton@blender.org>2006-11-07 19:43:44 +0300
commitf3a754136507001f27860513af76811318c4cc94 (patch)
tree3ab23c5660050b99aa639e28612e3b7049c273de /source/blender/src/fluidsim.c
parent7de24b7ea84c04ad5d056471f3b39d3664b00a77 (diff)
The occosional warning cleanup;
- unused varialbles - unused functions - wrong casted callback for SDL - gcc3 related; (GLint *) for opengl calls.
Diffstat (limited to 'source/blender/src/fluidsim.c')
-rw-r--r--source/blender/src/fluidsim.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/fluidsim.c b/source/blender/src/fluidsim.c
index 276650a9546..712548387b3 100644
--- a/source/blender/src/fluidsim.c
+++ b/source/blender/src/fluidsim.c
@@ -313,6 +313,7 @@ void fluidsimGetGeometryObjFilename(struct Object *ob, char *dst) { //, char *sr
// simplify channels before printing
// for API this is done anyway upon init
+#if 0
static void fluidsimPrintChannel(FILE *file, float *channel, int paramsize, char *str, int entries)
{
int i,j;
@@ -338,7 +339,7 @@ static void fluidsimPrintChannel(FILE *file, float *channel, int paramsize, char
fprintf(file, " ; \n" );
}
-
+#endif
static void fluidsimInitChannel(float **setchannel, int size, float *time,
int *icuIds, float *defaults, Ipo* ipo, int entries) {
@@ -422,7 +423,7 @@ int globalBakeState = 0; // 0 everything ok, -1 abort simulation, -2 sim error
int globalBakeFrame = 0;
// run simulation in seperate thread
-int fluidsimSimulateThread(void) { // *ptr) {
+static int fluidsimSimulateThread(void *unused) { // *ptr) {
//char* fnameCfgPath = (char*)(ptr);
int ret=0;