Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused variables

  • Loading branch information...
commit e3f43c5f2c20ef0dee95fe1d13ae13d0770ef74e 1 parent 5dfe69e
myint authored
2  src/core
@@ -1 +1 @@
-Subproject commit 3c874832f5c316e03c87fe3ee697cc8c870624b6
+Subproject commit 7cf63c4b62b157a99dd5efbde1c53f54a8d4821a
View
5 src/dirnode.cpp
@@ -47,8 +47,6 @@ RDirNode::RDirNode(RDirNode* parent, const std::string & abspath) {
vec2 parentPos = parent->getPos();
vec2 offset;
- RDirNode* parentP = parent->getParent();
-
pos = parentPos;
} else {
pos = vec2(0.0f, 0.0f);
@@ -1064,9 +1062,6 @@ void RDirNode::updateBloomVBO(bloombuf& buffer, float dt) {
void RDirNode::drawFiles(float dt) const{
if(in_frustum) {
-
- vec4 col = getColour();
-
glPushMatrix();
glTranslatef(pos.x, pos.y, 0.0);
View
2  src/file.cpp
@@ -198,8 +198,6 @@ void RFile::logic(float dt) {
dest_pos = dirnorm + dest;
}*/
- float dradius = dir->getRadius();
-
dest_pos = dest_pos * distance;
accel = dest_pos - pos;
View
5 src/gource.cpp
@@ -1157,7 +1157,7 @@ void Gource::addFileAction(const std::string& username, const std::string& actio
RAction* userAction = 0;
- int commitNo = commit_seq++;
+ commit_seq++;
if(action == "D") {
userAction = new RemoveAction(user, file, t);
@@ -1345,7 +1345,6 @@ void Gource::updateTime(time_t display_time) {
//display date
char datestr[256];
- char timestr[256];
struct tm* timeinfo = localtime ( &display_time );
strftime(datestr, 256, gGourceSettings.date_format.c_str(), timeinfo);
@@ -1391,8 +1390,6 @@ void Gource::updateCamera(float dt) {
if(track_users && (selectedFile !=0 || selectedUser !=0)) {
Bounds2D focusbounds;
- vec3 camerapos = camera.getPos();
-
if(selectedUser !=0) focusbounds.update(selectedUser->getPos());
if(selectedFile !=0) focusbounds.update(selectedFile->getAbsolutePos());
View
2  src/user.cpp
@@ -178,8 +178,6 @@ void RUser::colourize() {
}
void RUser::assignUserImage() {
- struct stat fileinfo;
-
colourize();
TextureResource* graphic = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.